Skip to content

Commit

Permalink
fix(dockerignore): Allow package-lock (#5)
Browse files Browse the repository at this point in the history
* Use npm ci instead of install.

* Fix docker build issue.

* Fix gitignore.
  • Loading branch information
juancarlovieri authored Aug 12, 2024
1 parent ff06edc commit 661b166
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
node_modules
package-lock.json
*.log
.env*
!.env
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM node:20

WORKDIR /usr/src/
COPY package.json ./
COPY package-lock.json ./
COPY .env ./.env.local
RUN npm ci

Expand Down

0 comments on commit 661b166

Please sign in to comment.