Dockerfile aktualisiert
parent
2d4c83edb7
commit
5c0611de35
|
|
@ -20,13 +20,12 @@ RUN if [ ! -f "$SSH_KEY_PATH" ]; then \
|
||||||
|
|
||||||
# Nginx configuration
|
# Nginx configuration
|
||||||
COPY nginx.conf.dist /etc/nginx/nginx.conf
|
COPY nginx.conf.dist /etc/nginx/nginx.conf
|
||||||
|
COPY webhook.php /usr/share/nginx/html/webhook.php
|
||||||
# Entrypoint.sh
|
# Entrypoint.sh
|
||||||
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
COPY 99-init-repos.sh /docker-entrypoint.d/99-init-repos.sh
|
||||||
RUN chmod +x /usr/local/bin/entrypoint.sh
|
|
||||||
|
|
||||||
# Expose ports
|
# Expose ports
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
EXPOSE 443
|
|
||||||
|
|
||||||
# Fetch repo
|
# Fetch repo
|
||||||
CMD ["entrypoint.sh"]
|
CMD ["nginx","-g","daemon: off;"]
|
||||||
Loading…
Reference in New Issue