Skip to content

Commit

Permalink
Merge pull request #12 from ElfenB:fix-ci
Browse files Browse the repository at this point in the history
fix: Update release workflow and Dockerfile
  • Loading branch information
ElfenB authored Mar 10, 2024
2 parents 7c0c434 + bb76b80 commit ce55a28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
run: npm run release

deploy:
needs: release
runs-on: self-hosted

steps:
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /app

COPY package*.json ./

RUN npm install
RUN npm clean-install
COPY . .
RUN npm run build

Expand All @@ -13,7 +13,6 @@ FROM nginx:stable-alpine as production-stage

COPY --from=build-stage /app/dist /www
COPY --from=build-stage /app/robots.txt /www
COPY --from=build-stage /app/README.md /www
COPY --from=build-stage /app/nginx.conf /etc/nginx

EXPOSE 80
Expand Down

0 comments on commit ce55a28

Please sign in to comment.