You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

14 regels
230 B

  1. FROM python:3.11-slim
  2. WORKDIR /app
  3. COPY ./requirements.txt .
  4. RUN pip install --no-cache-dir -r requirements.txt
  5. ENV PYTHONPATH "${PYTHONPATH}:/app/"
  6. COPY . .
  7. EXPOSE 5000
  8. CMD [ "flask", "run", "--host=0.0.0.0", "--port=5000"]