Skip to content

Commit b9261d1

Browse files
authored
Update Dockerfile
1 parent 4e3657a commit b9261d1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Dockerfile

-5
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,6 @@ RUN rm -rf /etc/nginx/html/ && \
191191
COPY conf/nginx.conf /etc/nginx/nginx.conf
192192
COPY conf/nginx.vh.default.conf /etc/nginx/conf.d/default.conf
193193
COPY conf.d/pagespeed.conf /etc/nginx/conf.d/pagespeed.conf
194-
COPY conf.d/core.conf /etc/nginx/conf.d/core.conf
195-
COPY conf.d/gzip.conf /etc/nginx/conf.d/gzip.conf
196194
COPY pagespeed.png /usr/share/nginx/html/
197195

198196
##########################################
@@ -209,8 +207,6 @@ COPY --from=nginx /usr/sbin/nginx /usr/sbin/nginx
209207
COPY --from=nginx /usr/lib/nginx/modules/ /usr/lib/nginx/modules/
210208
COPY --from=nginx /etc/nginx /etc/nginx
211209
COPY --from=nginx /usr/share/nginx/html/ /usr/share/nginx/html/
212-
# COPY docker-entrypoint.sh /usr/local/bin/
213-
# RUN chmod +x /usr/local/bin/docker-entrypoint.sh
214210

215211
RUN apk --no-cache upgrade && \
216212
scanelf --needed --nobanner --format '%n#p' /usr/sbin/nginx /usr/lib/nginx/modules/*.so /usr/local/bin/envsubst \
@@ -229,5 +225,4 @@ RUN addgroup -S nginx && \
229225
ln -sf /dev/stderr /var/log/nginx/error.log
230226

231227
EXPOSE 80 443
232-
# ENTRYPOINT ["docker-entrypoint.sh"]
233228
CMD ["/usr/sbin/nginx", "-g", "daemon off;"]

0 commit comments

Comments
 (0)