Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

Commit f793608

Browse files
author
Antonio Cheong
committed
Update Dockerfile
1 parent 76f6717 commit f793608

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

Dockerfile

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
# FROM nginx:latest
2-
FROM ubuntu:22.04
1+
FROM nginx:latest
32

4-
COPY rootfs/ /
3+
WORKDIR /
54

6-
# RUN mkdir -p /tmp/nginx/body /var/lib/nginx/cache /data/logs \
7-
# && mkdir -p /etc/letsencrypt/live/placeholder /data/nginx/placeholder /data/custom_ssl/placeholder \
8-
# && find /etc/nginx -type d -exec chmod 755 {} \; \
9-
# && find /etc/nginx -type f -exec chmod 644 {} \; \
10-
# && chmod 755 /docker-entrypoint.d/99-dynamic_resolvers.sh /bin/nginx_auto_reload.sh
5+
COPY rootfs/ .
6+
7+
RUN mkdir -p /tmp/nginx/body /var/lib/nginx/cache /data/logs \
8+
&& mkdir -p /etc/letsencrypt/live/placeholder /data/nginx/placeholder /data/custom_ssl/placeholder \
9+
&& find /etc/nginx -type d -exec chmod 755 {} \; \
10+
&& find /etc/nginx -type f -exec chmod 644 {} \; \
11+
&& chmod 755 /docker-entrypoint.d/99-dynamic_resolvers.sh /bin/nginx_auto_reload.sh

0 commit comments

Comments
 (0)