aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-10-23 11:16:01 +0100
committerGravatar Chris Lovering <[email protected]>2023-10-23 11:16:01 +0100
commitb995f6424d87fd8107471d5f1436c0537c350009 (patch)
tree1358fbfb342d4fb7dd623cee991ce88b96a84981
parentFix spelling error in docker-compose example (diff)
Update example Dockerfile to not specify an architecture
-rw-r--r--examples/Dockerfile.example6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/Dockerfile.example b/examples/Dockerfile.example
index a80d23d..af9f530 100644
--- a/examples/Dockerfile.example
+++ b/examples/Dockerfile.example
@@ -1,4 +1,4 @@
-FROM --platform=linux/amd64 ghcr.io/owl-corp/python-poetry-base:3-slim
+FROM ghcr.io/owl-corp/python-poetry-base:3-slim
# Install project dependencies
WORKDIR /my-app
@@ -8,5 +8,5 @@ RUN poetry install
# Copy the source code in last to optimize rebuilding the image
COPY . .
-ENTRYPOINT ["poetry"]
-CMD ["run", "python", "-m", "app"]
+ENTRYPOINT ["poetry", "run"]
+CMD ["python", "-m", "app"]