fix dockerfile
This commit is contained in:
parent
8c02184bd9
commit
8a8d7c0e74
|
@ -1,7 +1,9 @@
|
|||
FROM node:8-alpine
|
||||
RUN apk add --no-cache libc6-compat
|
||||
COPY package.json yarn.lock ./
|
||||
WORKDIR /app
|
||||
COPY package.json /app
|
||||
RUN yarn install --pure-lockfile
|
||||
RUN yarn install --frozen-lockfile
|
||||
COPY . /app
|
||||
CMD npm run watch
|
||||
EXPOSE 8080
|
Loading…
Reference in New Issue
Block a user