Initalized git repo, added basic files and a logger
This commit is contained in:
parent
50835e924c
commit
aa155b2748
10 changed files with 479 additions and 0 deletions
18
Dockerfile
Normal file
18
Dockerfile
Normal file
|
@ -0,0 +1,18 @@
|
|||
FROM python:3.10 as build
|
||||
|
||||
WORKDIR /tmp
|
||||
|
||||
RUN pip install poetry
|
||||
COPY ./pyproject.toml ./poetry.lock* /tmp/
|
||||
RUN poetry export -f requirements.txt --output requirements.txt --without-hashes
|
||||
|
||||
FROM python:3.10
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=build /tmp/requirements.txt /code/requirements.txt
|
||||
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
||||
|
||||
COPY resa_padel/ /app/
|
||||
|
||||
CMD python .
|
Loading…
Add table
Add a link
Reference in a new issue