Skip to content

Commit aab004b

Browse files
authored
Update Dockerfile
Add wget to the container to be able to use Coolify's Healthcheck feature
1 parent 9d4c4e0 commit aab004b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
# Use the official Nginx image as a base
22
FROM nginx:latest
33

4-
54
ARG CONF_TYPE=default
65

6+
# Adding wget to the container, so we can run Coolify's Healthcheck
7+
RUN apt update \
8+
&& apt install -y wget \
9+
&& rm -rf /var/lib/apt/lists/*
10+
711
# Copy the custom Nginx configuration file to the container
812
COPY ${CONF_TYPE}.conf /etc/nginx/conf.d/nginx-template.conf
913

0 commit comments

Comments
 (0)