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' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha no-cache: true
cache-to: type=gha,mode=max

View file

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

View file

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