Add wget to docker image for healthcheck
All checks were successful
default / build-and-push (push) Successful in 16s
All checks were successful
default / build-and-push (push) Successful in 16s
This commit is contained in:
@@ -1,7 +1,11 @@
|
|||||||
FROM nginx:latest
|
FROM nginx:latest
|
||||||
|
|
||||||
|
# Install wget for healthchecks
|
||||||
|
RUN apt-get update && apt-get install -y wget && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Remove the default Nginx configuration file
|
# Remove the default Nginx configuration file
|
||||||
RUN rm /etc/nginx/conf.d/default.conf
|
RUN rm /etc/nginx/conf.d/default.conf
|
||||||
|
|
||||||
# Copy our custom configuration
|
# Copy our custom configuration
|
||||||
COPY nginx.conf /etc/nginx/conf.d/jmpgames.conf
|
COPY nginx.conf /etc/nginx/conf.d/jmpgames.conf
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user