Skip to content

Commit 157a526

Browse files
committed
refactor: dockerfile optimization
reduce layers Signed-off-by: Vitor Mattos <[email protected]>
1 parent 014f706 commit 157a526

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.docker/Dockerfile.apache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ COPY ./config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
5050
COPY ./scripts/*.sh /
5151

5252
# Apply necessary permissions
53-
RUN ["chmod", "+x", "/entrypoint*.sh"]
53+
RUN chmod +x /entrypoint*.sh
5454

5555
# Setting worker env vars
5656
ENV DOCKER_MAUTIC_WORKERS_CONSUME_EMAIL=2 \

.docker/Dockerfile.fpm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ COPY ./config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
4444
COPY ./scripts/*.sh /
4545

4646
# Apply necessary permissions
47-
RUN ["chmod", "+x", "/entrypoint*.sh"]
47+
RUN chmod +x /entrypoint*.sh
4848

4949
# Setting worker env vars
5050
ENV DOCKER_MAUTIC_WORKERS_CONSUME_EMAIL=2 \

0 commit comments

Comments
 (0)