nginx-routes/Dockerfile
amorozov 1f65f6374e
All checks were successful
Gitea/docker-base-images/nginx-routes/pipeline/head This commit looks good
fix: removed ln from entrypoint copy
2023-09-02 00:16:48 +03:00

15 lines
330 B
Docker

ARG BASE_IMAGE="nginx"
FROM ${BASE_IMAGE}
# Install ping and ip
RUN apt update && \
apt install -y iproute2 iputils-ping
# Copy entrypoint
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
# Execute entrypoint
ENTRYPOINT [ "docker-entrypoint.sh" ]
CMD [ "app" ]