Skip to content

Commit

Permalink
install curl
Browse files Browse the repository at this point in the history
  • Loading branch information
haarburger committed Aug 24, 2024
1 parent cb30292 commit 6f6db97
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
FROM python:3.9-slim

# Install curl for health checks
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*

WORKDIR /app

COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

COPY . .

# Make sure your app is listening on 0.0.0.0 to be accessible from outside the container
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "app:app"]

0 comments on commit 6f6db97

Please sign in to comment.