login_page / Dockerfile
simar007's picture
Update Dockerfile
41a8a9b verified
raw
history blame contribute delete
260 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Expose the port your app runs on
EXPOSE 8080
# Run the app with Gunicorn
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:8080", "app:app"]