nginx working
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
FROM debian:bookworm
|
||||
|
||||
RUN apt-get update; apt-get full-upgrade -y; apt-get autoclean -y
|
||||
|
||||
COPY project/buildtime/gen_selfisgned_cert.sh /tmp/buildtime/gen_selfisgned_cert.sh
|
||||
RUN /bin/sh /tmp/buildtime/gen_selfsigned_cert.sh
|
||||
RUN apt-get update; apt-get full-upgrade -y; apt-get autoclean -y; apt-get install nginx openssl vim curl -y
|
||||
|
||||
COPY project/entrypoint/entrypoint.sh /entrypoint/entrypoint.sh
|
||||
COPY project/entrypoint/install-nginx-mods.sh /entrypoint/install-nginx-mods.sh
|
||||
COPY project/entrypoint/gen-cert.sh /entrypoint/gen-cert.sh
|
||||
#COPY project/entrypoint/install-nginx-mods.sh /entrypoint/install-nginx-mods.sh
|
||||
RUN mkdir /tmp/buildtime && cp /etc/nginx/sites-available/default /tmp/buildtime/default
|
||||
ENTRYPOINT ["/bin/sh", "/entrypoint/entrypoint.sh"]
|
||||
|
Reference in New Issue
Block a user