Skip to content

Commit

Permalink
ci: please I really hope this works
Browse files Browse the repository at this point in the history
  • Loading branch information
kevkevinpal committed Apr 26, 2023
1 parent cf12408 commit 3d444d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 0 additions & 1 deletion .dockerignore

This file was deleted.

10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ FROM node:16 as build
# Create app directory
WORKDIR /usr/src/app

COPY package*.json .
COPY yarn.lock .
RUN yarn cache clean && yarn install --production=true --ignore-scripts
COPY package*.json /usr/src/app
COPY yarn.lock /usr/src/app
VOLUME node_modules /usr/src/app/node_modules
RUN yarn cache clean && yarn install

COPY . .

COPY . /usr/src/app

RUN yarn run build

Expand Down

0 comments on commit 3d444d9

Please sign in to comment.