25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile 230 B

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"]