We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68f2aa8 commit 76d1e9cCopy full SHA for 76d1e9c
.github/workflows/publish-docker.yml
@@ -2,6 +2,9 @@ name: Create and publish a Docker image
2
3
# Configures this workflow to run every time a release is published
4
on:
5
+ push:
6
+ branches:
7
+ - main
8
release:
9
types: [published]
10
Dockerfile
@@ -22,7 +22,7 @@ COPY pyproject.toml poetry.lock ./
22
# Because poetry will complain if a README.md is not found, we create a dummy one.
23
RUN touch README.md
24
25
-RUN poetry install --without development --no-root && rm -rf $POETRY_CACHE_DIR
+RUN poetry install --without development --extras=fit --no-root && rm -rf $POETRY_CACHE_DIR
26
27
# The runtime image, used to run the code
28
FROM python:3.11-slim-buster as runtime
0 commit comments