storage-upload/Dockerfile

15 lines
217 B
Text
Raw Normal View History

FROM alpine
2017-12-09 21:51:18 +00:00
ENV HOME=/app \
NODE_ENV=production
2017-12-09 21:51:18 +00:00
WORKDIR $HOME
COPY package.json $HOME/
2017-12-09 21:51:18 +00:00
RUN apk update && apk upgrade && apk add nodejs npm && npm install --production
2017-12-09 21:51:18 +00:00
COPY api $HOME/api
2017-12-09 21:51:18 +00:00
CMD ["npm", "start"]