Skip to content

Commit 362f515

Browse files
committed
separate RUN 'rm' command step
1 parent a473d7f commit 362f515

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ FROM nginx:1.11.9-alpine
22

33
# for htpasswd command
44
RUN apk add --no-cache --update \
5-
apache2-utils \
6-
&& rm -f /etc/nginx/conf.d/*
5+
apache2-utils
6+
RUN rm -f /etc/nginx/conf.d/*
77

88
ENV SERVER_NAME example.com
99
ENV PORT 80

0 commit comments

Comments
 (0)