Skip to content

Commit 71f76b3

Browse files
Eric Lopesnullhack
Eric Lopes
andcommitted
Fix docker and update lock file (#1)
fix #4 Co-authored-by: Eric Lopes <[email protected]> Reviewed-on: https://gitea.eol.myds.me/eol/python-project-template/pulls/1
1 parent 8e6a3cc commit 71f76b3

File tree

3 files changed

+506
-508
lines changed

3 files changed

+506
-508
lines changed

{{cookiecutter.project_slug}}/Dockerfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,14 @@ COPY pyproject.toml .
1313
COPY poetry.lock .
1414
RUN poetry install --no-root
1515

16-
COPY .pre-commit-config.yaml .
17-
COPY README.md .
18-
COPY features features
19-
COPY {{cookiecutter.package_name}} {{cookiecutter.package_name}}
20-
COPY tests tests
21-
16+
COPY ./ ./
2217
RUN poetry install
2318

2419
ARG TESTBUILD=True
2520
ENV TESTBUILD=$TESTBUILD
2621
RUN if [ "$TESTBUILD" = 'True' ]; then poe lint; fi
2722
RUN if [ "$TESTBUILD" = 'True' ]; then poe test; fi
2823

29-
3024
RUN poetry build --format=wheel
3125
RUN poetry export --only main -f requirements.txt --without-hashes --output requirements.txt
3226

0 commit comments

Comments
 (0)