Advertisement
PandaAcademy

Docker2: Backend

Apr 14th, 2022
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. FROM python:3.8-slim-buster
  2. WORKDIR /app
  3. COPY requirements.txt requirements.txt
  4. RUN pip install -r requirements.txt
  5. COPY . .
  6. EXPOSE 5001
  7. CMD ["python", "app.py"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement