resting-mailer/Dockerfile

13 lines
204 B
Docker
Raw Permalink Normal View History

2023-01-23 22:29:36 -05:00
FROM python:3.9.16-alpine
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 5000
CMD ["python", "-m", "flask", "run", "--host=0.0.0.0"]