storage-upload/Dockerfile

14 lines
217 B
Docker

FROM alpine
ENV HOME=/app \
NODE_ENV=production
WORKDIR $HOME
COPY package.json $HOME/
RUN apk update && apk upgrade && apk add nodejs npm && npm install --production
COPY api $HOME/api
CMD ["npm", "start"]