add action for building docker

This commit is contained in:
Hubert Bryłkowski 2023-07-09 15:36:04 +02:00
parent 6b57051557
commit c3199ecd57
No known key found for this signature in database
GPG key ID: 4DE061A3D610F379
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