fastfood/Dockerfile

20 lines
272 B
Docker
Raw Normal View History

2024-01-28 16:22:24 +03:00
FROM python:3.10-slim
2024-01-30 23:11:40 +03:00
RUN pip install poetry
2024-01-28 16:22:24 +03:00
2024-01-30 23:11:40 +03:00
RUN poetry config virtualenvs.create false
2024-01-28 16:22:24 +03:00
2024-01-30 23:11:40 +03:00
RUN mkdir -p /usr/src/fastfood
2024-01-28 16:22:24 +03:00
2024-01-30 23:11:40 +03:00
WORKDIR /usr/src/fastfood
2024-01-28 16:22:24 +03:00
COPY ./example.env .
COPY ./poetry.lock .
COPY ./pyproject.toml .
2024-02-05 19:13:40 +03:00
RUN touch /usr/src/RUN_IN_DOCKER
2024-01-28 16:22:24 +03:00
RUN poetry install