poetry-rty

This commit is contained in:
2023-10-06 03:22:37 +03:00
parent 12416c1b83
commit b64d9d5014
7 changed files with 1390 additions and 53 deletions

View File

@@ -1,10 +1,9 @@
FROM python:slim
WORKDIR /app
EXPOSE 8080
# ADD nginx.conf.sigil ./
COPY requirements.txt .
RUN apt update && apt install -y build-essential git
ENV GIT_SSH_COMMAND="ssh -v"
RUN pip install -r requirements.txt
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
ENV GIT_SSH_COMMAND "ssh -v"
WORKDIR /app
RUN pip install poetry
COPY . .
RUN poetry install