Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add Docker files for reproducible build
  • Loading branch information
dmartinez committed May 2, 2024
1 parent ef7f665 commit 65edf60
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .dockerignore
@@ -0,0 +1,9 @@
.dockerignore
.git
.gitignore
bare_source
build
cypress*
Dockerfile
node_modules
README.md
12 changes: 12 additions & 0 deletions Dockerfile
@@ -0,0 +1,12 @@
FROM node:20-alpine3.18

RUN mkdir -p /usr/src/app

WORKDIR /usr/src/app

COPY package.json .
COPY package-lock.json .

RUN npm ci --no-audit --omit=dev

COPY . .

0 comments on commit 65edf60

Please sign in to comment.