We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bee7559 commit 7670dddCopy full SHA for 7670ddd
Dockerfile
@@ -1,11 +1,13 @@
1
-FROM python:3.13
+FROM python:3.13-slim
2
ENV PYTHONDONTWRITEBYTECODE=1
3
ENV PYTHONUNBUFFERED=1
4
ENV PYTHONPATH=/app
5
WORKDIR /app
6
COPY requirements.txt .
7
RUN apt-get update &&\
8
- apt-get install -y swig &&\
+ apt-get install -y --no-install-recommends swig &&\
9
+ apt-get upgrade -y &&\
10
+ rm -rf /var/lib/apt/lists/* &&\
11
pip install --no-cache-dir -r requirements.txt
12
COPY . /app/
13
EXPOSE 8000
0 commit comments