This repository has been archived on 2025-07-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
circuitbodge/Dockerfile
AKP 6f3fbde11f
Alter 3 files
Add `docker.yml`
Add `Dockerfile`
Update `web.py`
2022-11-09 00:48:56 +00:00

18 lines
No EOL
429 B
Docker

FROM python:3.11-alpine
ENV PIP_DISABLE_PIP_VERSION_CHECK=on
RUN pip install poetry
WORKDIR /usr/src/app
COPY poetry.lock pyproject.toml ./
RUN poetry config virtualenvs.create false
RUN poetry install --no-interaction
COPY ./circuit-laundry-notifier ./circuit-laundry-notifier
ENV PYTHONPATH=circuit-laundry-notifier/
CMD ["poetry", "run", "gunicorn", "-b", "0.0.0.0:80", "-w", "1", "circuit-laundry-notifier.web:new()"]