varnish add
This commit is contained in:
1 parent
eec3985c5a
commit
16beaac932
4 files changed
+75
-18
No files matched your search
@@ -0,0 +1,19 @@
|
||||
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"]
|
||||
Reference in new issue
Block a user