Dockerfile 232 B

123456789
  1. FROM python:3.11.4-bullseye
  2. COPY . /usr/local/app/
  3. RUN ["pip", "install", "waitress"]
  4. WORKDIR /usr/local/app/
  5. RUN ["pip", "install", "-r", "requirements.txt"]
  6. CMD ["waitress-serve", "--listen=0.0.0.0:5000", "app:app"]
  7. EXPOSE 5000