Dockerfile aktualisiert
parent
498b397cfc
commit
b8d0f6de6f
|
|
@ -21,13 +21,14 @@ RUN if [ ! -f "$SSH_KEY_PATH" ]; then \
|
|||
# Nginx configuration
|
||||
COPY nginx.conf.dist /etc/nginx/nginx.conf
|
||||
# Entrypoint.sh
|
||||
COPY entrypoint.sh /root/entrypoint.sh
|
||||
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||
RUN chmod +x /usr/local/bin/entrypoint.sh
|
||||
|
||||
# Expose ports
|
||||
EXPOSE 80
|
||||
EXPOSE 443
|
||||
|
||||
# Fetch repo
|
||||
CMD ["/usr/bin/bash", "entrypoint.sh"]
|
||||
CMD ["entrypoint.sh"]
|
||||
#
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
Loading…
Reference in New Issue