add action for building docker

This commit is contained in:
Hubert Bryłkowski 2023-07-09 15:36:04 +02:00 committed by Piotr Gaczkowski
parent 27798e6e54
commit cda1ba4f07
3 changed files with 59 additions and 0 deletions

13
Dockerfile Normal file
View file

@ -0,0 +1,13 @@
FROM python:3.11
RUN mkdir /app COPY /app /app
COPY pyproject.toml poetry.lock /app/
WORKDIR /app
ENV PYTHONPATH=${PYTHONPATH}:${PWD}
RUN pip install poetry
RUN poetry config virtualenvs.create false
RUN poetry install --no-dev