run in docker

This commit is contained in:
Mateusz Gruszczyński
2025-09-21 23:04:09 +02:00
parent 1438ba6195
commit cc73d2d455
2 changed files with 3 additions and 4 deletions

View File

@@ -3,7 +3,6 @@ WORKDIR /app
COPY requirements.txt requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
COPY run_waitress.py /run_waitress.py
RUN chmod +x /run_waitress.py
EXPOSE 8000
ENTRYPOINT ["python3", "/run_waitress.py"]
EXPOSE 5580
ENTRYPOINT ["python3", "/run_waitress.py"]