This commit is contained in:
2023-09-28 15:51:28 +03:00
parent a32a18893e
commit 2c72189055
3 changed files with 9 additions and 8 deletions

View File

@@ -1,9 +1,9 @@
FROM python:3.10
FROM python:slim
WORKDIR /app
EXPOSE 8080
ADD nginx.conf.sigil ./
RUN /usr/local/bin/python -m pip install --upgrade pip
WORKDIR /usr/src/app
COPY requirements.txt ./
COPY requirements.txt .
RUN apt update && apt install -y git
RUN pip install -r requirements.txt
COPY . .