Skip to content

Commit

Permalink
Build dockerfile with project root as context
Browse files Browse the repository at this point in the history
  • Loading branch information
Marvin Schürz committed Jan 7, 2025
1 parent 5efd87d commit 43054f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Build and push docker image
uses: docker/build-push-action@v5
with:
context: ./packages/beatmap-viewer
context: .
file: ./packages/beatmap-viewer/Dockerfile
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta-client.outputs.tags }}
Expand Down
4 changes: 2 additions & 2 deletions packages/beatmap-viewer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM caddy:2.9-alpine

COPY Caddyfile /etc/caddy/Caddyfile
COPY dist /srv
COPY packages/beatmap-viewer/Caddyfile /etc/caddy/Caddyfile
COPY dist/packages/beatmap-viewer /srv

0 comments on commit 43054f3

Please sign in to comment.