auth
Some checks failed
deploy / deploy (push) Has been cancelled

This commit is contained in:
2023-12-02 08:44:06 +03:00
parent a5e6bbd724
commit 264e274f4b
7 changed files with 132 additions and 10 deletions

View File

@@ -1,6 +1,12 @@
FROM python:slim
WORKDIR /app
ADD . /app
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 80
COPY . /app
RUN apt-get update && apt-get install -y git gcc curl postgresql && \
curl -sSL https://install.python-poetry.org | python - && \
echo "export PATH=$PATH:/root/.local/bin" >> ~/.bashrc && \
. ~/.bashrc && \
poetry config virtualenvs.create false && \
poetry install --no-dev
CMD ["python", "main.py"]