Skip to content

Commit

Permalink
Changed base image to node:10-alpine (#4409)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-a-v authored and PieterGit committed Feb 24, 2019
1 parent 3ee22d4 commit 83a8dea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile.example
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
FROM node:8.9.1
FROM node:10-alpine

MAINTAINER Nightscout Contributors

RUN apt-get update && \
apt-get -y dist-upgrade

RUN mkdir -p /opt/app
ADD . /opt/app
WORKDIR /opt/app
RUN chown -R node:node /opt/app
USER node

RUN npm install && \
npm run postinstall && \
npm run env
npm run env && \
npm audit fix

EXPOSE 1337

Expand Down

0 comments on commit 83a8dea

Please sign in to comment.