mirror of
https://github.com/artegoser/AnoPaper.git
synced 2025-02-23 12:43:14 +03:00
ci: caprover docker deploy
This commit is contained in:
parent
631dd28d9a
commit
c0495e19cb
2 changed files with 40 additions and 2 deletions
|
@ -6,8 +6,8 @@ RUN npm run build
|
|||
|
||||
FROM node:18-alpine as run
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/package*.json /app/index.js /app/note_validator.js /app/core.js /usr/src/app/
|
||||
COPY --from=build /app/dist/ /usr/src/app/dist/
|
||||
COPY --from=build /app/package*.json /app/index.js /app/note_validator.js /app/core.js ./
|
||||
COPY --from=build /app/dist/ ./dist/
|
||||
RUN npm install --omit=dev
|
||||
CMD npm run start
|
||||
EXPOSE 80
|
||||
|
|
Loading…
Add table
Reference in a new issue