mirror of
https://github.com/demostf/demoserver.git
synced 2026-06-03 13:54:12 +02:00
fix docker build
This commit is contained in:
parent
d266f7e2fa
commit
34fcb0b0de
1 changed files with 3 additions and 1 deletions
|
|
@ -4,7 +4,9 @@ RUN mkdir -p /usr/src/app
|
|||
WORKDIR /usr/src/app
|
||||
|
||||
COPY package.json /usr/src/app/
|
||||
RUN npm install
|
||||
RUN apk add --no-cache git \
|
||||
&& npm install \
|
||||
&& apk del git
|
||||
|
||||
COPY index.js /usr/src/app/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue