Browse Source

add buil docker file

main
hallouma875 6 years ago
parent
commit
639155b1bc
  1. 5
      Dockerfile

5
Dockerfile

@ -1,4 +1,4 @@
FROM node:12
FROM node
WORKDIR /usr/app
COPY package.json yarn.lock ./
@ -9,4 +9,5 @@ EXPOSE 4000
RUN yarn global add node-gyp && yarn install
CMD ["yarn","start"]
CMD ["yarn","start"]
USER node
Loading…
Cancel
Save