flask-webhook/docker/tests/Dockerfile

24 lines
370 B
Docker
Raw Normal View History

2024-04-22 04:00:23 +03:00
FROM python:3.10-slim
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
RUN pip install --upgrade pip
RUN pip install poetry
RUN poetry config virtualenvs.create false
RUN mkdir -p /usr/src/flask-webhook/flask_demo_api
RUN mkdir -p /usr/src/flask-webhook/tests
WORKDIR /usr/src/flask-webhook
COPY ./poetry.lock .
COPY ./pyproject.toml .
RUN poetry install