Skip to content
Snippets Groups Projects
Commit 943cfb4d authored by fu1106jv's avatar fu1106jv
Browse files

Merge branch '22-copy-package-lock-json-in-dockerfiles' into 'main'

Add wildcard to copy command in Dockerfile for copying both package*.json

Closes #22

See merge request swp-ws21-fahrtenbuch/team-einhorn/fahrtenbuch!13
parents 97cc16b5 0c4e6611
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ FROM node:lts-alpine
WORKDIR /client
# install dependencies
COPY package.json ./
COPY package*.json ./
RUN npm install
# copy source
......
......@@ -5,7 +5,7 @@ FROM node:lts-alpine
WORKDIR /server
# install dependencies
COPY package.json ./
COPY package*.json ./
RUN npm install
# copy source
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment