notifier/Dockerfile

16 lines
414 B
Docker
Raw Permalink Normal View History

2024-02-17 11:03:33 +00:00
FROM python:slim
2023-11-23 22:58:55 +00:00
WORKDIR /app
2024-02-17 00:37:46 +00:00
COPY . /app
2023-11-23 22:58:55 +00:00
2024-02-17 11:03:33 +00:00
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
2024-02-17 00:20:39 +00:00
2024-02-17 00:37:46 +00:00
EXPOSE 8000
2023-11-23 22:58:55 +00:00
2024-02-17 11:03:33 +00:00
# Run server when the container launches
CMD python server.py