Skip to content

Commit

Permalink
fix: prod building reorganization
Browse files Browse the repository at this point in the history
  • Loading branch information
kricha committed Mar 28, 2022
1 parent a5e1436 commit 79b46a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile → .docker/prod/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ RUN apk update && apk add --no-cache tzdata \

COPY --from=builder /app/node_modules /app/node_modules
COPY --from=builder /app/dist /app/dist
COPY ./var /app/var
COPY ./log /app/log
COPY ./migrations /app/migrations
COPY ./ecosystem.config.cjs /app/ecosystem.config.cjs
COPY ./package.json /app/package.json
COPY ../../var /app/var
COPY ../../log /app/log
COPY ../../migrations /app/migrations
COPY ../../ecosystem.config.cjs /app/ecosystem.config.cjs
COPY ../../package.json /app/package.json
1 change: 1 addition & 0 deletions .github/workflows/github-actions-docker-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
file: .docker/prod/Dockerfile
push: true
tags: |
ghcr.io/${{ github.repository }}:${{ github.event.release.tag_name }}
Expand Down

0 comments on commit 79b46a9

Please sign in to comment.