This repository has been archived on 2025-07-30. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
notifier/Dockerfile

13 lines
322 B
Docker
Raw Normal View History

2024-02-17 14:00:32 +03:00
FROM python:alpine3.18
2023-11-24 01:58:55 +03:00
WORKDIR /app
2024-02-17 03:37:46 +03:00
COPY . /app
2023-11-24 01:58:55 +03:00
2024-02-17 14:00:32 +03:00
RUN apk update && apk add --no-cache git gcc curl postgresql-client
RUN curl -sSL https://install.python-poetry.org | python
ENV PATH="${PATH}:/root/.local/bin"
RUN poetry config virtualenvs.create false && poetry install --no-dev
2024-02-17 03:20:39 +03:00
2024-02-17 03:37:46 +03:00
EXPOSE 8000
2023-11-24 01:58:55 +03:00
2024-02-17 14:00:32 +03:00
CMD ["python", "server.py"]