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.

1 vuosi sitten
12345678910111213
  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"]