Skip to content

Commit

Permalink
use local instead of git context
Browse files Browse the repository at this point in the history
  • Loading branch information
Pistonight committed Mar 11, 2024
1 parent 97e382e commit be7e111
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
packages: write
steps:
- uses: actions/checkout@v4
- uses: dawidd6/action-download-artifact@v2
- uses: dawidd6/action-download-artifact@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
workflow: build.yml
Expand All @@ -42,6 +42,7 @@ jobs:
type=raw,value=latest
- uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM alpine:latest
EXPOSE 80
ENV APP_DIR=/opt/app
COPY dist $APP_DIR
COPY img $APP_DIR/img
COPY ./dist $APP_DIR
COPY ./img $APP_DIR/img
RUN chmod +x $APP_DIR/bin/start

WORKDIR $APP_DIR
Expand Down

0 comments on commit be7e111

Please sign in to comment.