Skip to content

Commit

Permalink
kyyhky: Update from node 6-onbuild to node 10
Browse files Browse the repository at this point in the history
  • Loading branch information
eemeli committed Jul 26, 2018
1 parent 5b58ebe commit b4df04b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 2 additions & 0 deletions kyyhky/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
package-lock.json
12 changes: 11 additions & 1 deletion kyyhky/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
FROM node:6-onbuild
FROM node:10

ARG NODE_ENV
ENV NODE_ENV $NODE_ENV

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY package.json /usr/src/app/
RUN npm install && npm cache clean --force
COPY . /usr/src/app

EXPOSE 3000
CMD [ "npm", "start" ]

0 comments on commit b4df04b

Please sign in to comment.