Skip to content

Commit

Permalink
fix img directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Pistonight committed Mar 11, 2024
1 parent 6904465 commit 55ff52f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
workflow: build.yml
commit: ${{ github.sha }}
path: docker/dist
path: dist
- uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
Expand All @@ -43,6 +43,5 @@ jobs:
- uses: docker/build-push-action@v5
with:
push: true
context: docker
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
3 changes: 2 additions & 1 deletion docker/Dockerfile → Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ FROM alpine:latest
EXPOSE 80
ENV APP_DIR=/opt/app
COPY ./dist $APP_DIR
COPY ../img $APP_DIR/img
RUN mkdir -p $APP_DIR/img
COPY ./img $APP_DIR/img
RUN chmod +x $APP_DIR/bin/start

WORKDIR $APP_DIR
Expand Down

0 comments on commit 55ff52f

Please sign in to comment.