Skip to content

Commit

Permalink
Update Dockerfile + ignore docker
Browse files Browse the repository at this point in the history
  • Loading branch information
cyri113 committed Apr 13, 2024
1 parent fb99ac6 commit 1cbaabc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Dockerfile
.dockerignore
node_modules
npm-debug.log
dist
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN apk add --update --no-cache python3 make g++

COPY package*.json ./

RUN npm i --force
RUN npm i

COPY . .

Expand All @@ -22,7 +22,7 @@ WORKDIR /usr/src/app

COPY package*.json ./

RUN npm i --production --force
RUN npm i --omit=dev

COPY . .

Expand Down

0 comments on commit 1cbaabc

Please sign in to comment.