server-start-6

This commit is contained in:
2023-10-03 18:50:09 +03:00
parent f1d87044a5
commit e6d1fa5b07
2 changed files with 11 additions and 12 deletions

View File

@@ -1,9 +1,10 @@
FROM python:3.8-slim
FROM python:slim
WORKDIR /app
EXPOSE 8080
ADD nginx.conf.sigil ./
COPY requirements.txt .
RUN apt update && apt install -y gcc
RUN pip install -r requirements.txt
COPY . .
CMD ["python", "server.py"]