Skip to content

Commit 3b1a261

Browse files
committed
Update Dockerfile
1 parent fbb931c commit 3b1a261

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
3636
rm -f /etc/apt/apt.conf.d/docker-clean && \
3737
echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache && \
3838
apt-get update && \
39-
apt-get install --yes \
39+
apt-get install --yes --no-install-recommends \
4040
build-essential \
4141
curl
4242

@@ -98,3 +98,5 @@ EXPOSE 8000
9898
ARG ENVIRONMENT=prod
9999
ENV ENVIRONMENT=${ENVIRONMENT}
100100
CMD ["gunicorn", "-c", "python:example_app.gunicorn_conf"]
101+
102+
HEALTHCHECK CMD curl -f http://localhost/ || exit 1

0 commit comments

Comments
 (0)