notifier/Dockerfile
Untone d963ed714c
Some checks failed
Deploy to v2 / deploy (push) Failing after 22s
stay-ubuntu
2024-02-17 14:03:33 +03:00

16 lines
414 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
EXPOSE 8000
# Run server when the container launches
CMD python server.py