Skip to content

Commit

Permalink
ci: remove repo ARG from dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
gmontanola committed May 20, 2024
1 parent 5be1719 commit ddb0468
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.app
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:3.11-slim
ARG repo=ttl.sh/appex
COPY --from=${repo}:deps /app /app
COPY --from=${repo}:src /app /app

COPY --from=ttl.sh/appex:deps /app /app
COPY --from=ttl.sh/appex:src /app /app

ENTRYPOINT ["/app/pex"]
EXPOSE 8000
2 changes: 1 addition & 1 deletion Dockerfile.deploy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM python:3.11-slim
ARG repo=ttl.sh/appex

COPY --from=ghcr.io/gmontanola/fastapi-pex-docker/appex:deps /app /app
COPY --from=ghcr.io/gmontanola/fastapi-pex-docker/appex:src /app /app

Expand Down

0 comments on commit ddb0468

Please sign in to comment.