20 lines
412 B
Docker
20 lines
412 B
Docker
FROM python:3.13-slim
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
&& apt-get install -y build-essential \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY requirements.txt requirements.txt
|
|
|
|
RUN pip install --upgrade pip
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|
|
RUN mkdir -p /app/instance
|
|
|
|
EXPOSE 8080
|
|
|
|
CMD ["python", "run_waitress.py"]
|