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"]