We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49194ae commit d46d491Copy full SHA for d46d491
{{cookiecutter.project_slug}}/Dockerfile
@@ -14,7 +14,6 @@ COPY poetry.lock .
14
RUN poetry install --no-root
15
16
COPY .pre-commit-config.yaml .
17
-COPY .flake8 .
18
COPY README.md .
19
COPY features features
20
COPY {{cookiecutter.package_name}} {{cookiecutter.package_name}}
@@ -24,8 +23,10 @@ RUN poetry install
24
23
25
ARG TESTBUILD=True
26
ENV TESTBUILD=$TESTBUILD
+RUN if [ "$TESTBUILD" = 'True' ]; then poe lint; fi
27
RUN if [ "$TESTBUILD" = 'True' ]; then poe test; fi
28
29
+
30
RUN poetry build --format=wheel
31
RUN poetry export --only main -f requirements.txt --without-hashes --output requirements.txt
32
0 commit comments