plumberserver/Dockerfile
Pal Kerecsenyi 323be2a03b
All checks were successful
/ build (push) Successful in 3m12s
Rename containerfile
2024-04-18 11:54:12 +01:00

14 lines
325 B
Docker

FROM docker.io/python:3-slim-bullseye
RUN apt-get update && apt-get install -y curl
RUN curl -sSL https://install.python-poetry.org | python3 -
ENV PATH="/root/.local/bin:$PATH"
WORKDIR /usr/src/app
COPY pyproject.toml poetry.lock ./
RUN poetry install --no-root
COPY main.py .
CMD ["poetry", "run", "python", "main.py"]