Skip to content

Commit

Permalink
Merge pull request #140 from BretFisher/update-result-deps
Browse files Browse the repository at this point in the history
Update result node version and npm dependencies
  • Loading branch information
jrburcio committed Aug 27, 2019
2 parents df86c45 + 563773c commit bfa3d14
Show file tree
Hide file tree
Showing 7 changed files with 1,185 additions and 7,006 deletions.
15 changes: 8 additions & 7 deletions result/Dockerfile
@@ -1,18 +1,19 @@
FROM node:8.9-alpine
FROM node:10-slim

RUN mkdir -p /app
WORKDIR /app

RUN npm install -g nodemon
RUN npm config set registry https://registry.npmjs.org
COPY package.json /app/package.json
RUN npm install \
&& npm ls \

COPY package*.json ./

RUN npm ci \
&& npm cache clean --force \
&& mv /app/node_modules /node_modules
COPY . /app

COPY . .

ENV PORT 80

EXPOSE 80

CMD ["node", "server.js"]

0 comments on commit bfa3d14

Please sign in to comment.