medgan / Dockerfile
mozaloom's picture
initial commit
8fed32c
raw
history blame contribute delete
273 Bytes
FROM python:3.11-slim
COPY ./requirements.txt /app/requirements.txt
WORKDIR /app
RUN pip install -r requirements.txt
COPY . /app
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV FLASK_APP=app.py
ENV FLASK_ENV=production
EXPOSE 5000
CMD ["python", "app.py"]