From 82209902d5467477004ff98392ac9cc38ed52cb9 Mon Sep 17 00:00:00 2001 From: saulteafarmer Date: Wed, 14 May 2025 16:12:39 +0000 Subject: [PATCH] Update Dockerfile --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2fc2c4a..cb9b2e9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,14 +2,17 @@ FROM python:3.10-slim WORKDIR /app +# System dependencies for Postgres & builds RUN apt-get update \ && apt-get install -y gcc libpq-dev --no-install-recommends \ && rm -rf /var/lib/apt/lists/* +# Python dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt +# Copy application code COPY . . +# Expose Flask port EXPOSE 3000 -CMD ["gunicorn", "-b", "0.0.0.0:3000", "app:app"]