add action for building docker
This commit is contained in:
parent
27798e6e54
commit
cda1ba4f07
3 changed files with 59 additions and 0 deletions
13
Dockerfile
Normal file
13
Dockerfile
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue