core/Dockerfile
Untone 3ab5d53439
Some checks failed
deploy / deploy (push) Failing after 22s
curl-fix
2023-11-23 00:19:15 +03:00

13 lines
367 B
Docker

FROM python:slim
WORKDIR /app
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", "server.py"]