docker
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -1,11 +1,7 @@
|
||||
FROM python:3.13-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --upgrade pip
|
||||
COPY requirements.txt requirements.txt
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD ["python", "run_waitress.py"]
|
||||
RUN chmod +x run_waitress.py
|
||||
ENTRYPOINT ["python3", "run_waitress.py"]
|
Reference in New Issue
Block a user