This commit is contained in:
waveringana 2022-12-04 00:18:54 +00:00
parent aacc685da1
commit 6002368f3b
3 changed files with 3 additions and 5 deletions

View file

@ -91,5 +91,4 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
no-cache: true

View file

@ -11,5 +11,4 @@ jobs:
- name: Cypress run
uses: cypress-io/github-action@v4
with:
build: node app/db.js
start: npm start

View file

@ -12,10 +12,10 @@ RUN npm prune --production
FROM node:16-alpine
COPY --from=BUILD_IMAGE /node_modules ./node_modules
COPY /dist ./dist
COPY --from=BUILD_IMAGE /dist ./dist
COPY package*.json ./
COPY tsconfig.json ./
ENV NODE_ENV=production
CMD ["npm", "start"]
CMD ["npm", "start"]