storage-upload/Dockerfile

18 lines
183 B
Docker

FROM node:slim
ARG NODE=development
ENV HOME=/app \
NODE_ENV=${NODE}
COPY package.json $HOME/
WORKDIR $HOME
RUN npm install
COPY . $HOME/
EXPOSE 4020
CMD ["npm", "start"]