model_performance / Dockerfile-node
William Gunnells
refactor to redirect
30a88bd
raw
history blame contribute delete
303 Bytes
FROM node:16-alpine
RUN npm install -g nodemon
WORKDIR /app
#COPY package.json .
#RUN npm install
COPY dockerdash-ui/. /app/
RUN npm install
EXPOSE 7860
RUN npm run build
RUN npm install -g serve
#CMD ["npm", "run", "dev"]
#CMD ["npm", "start"]
CMD ["serve", "-l", "tcp://0.0.0.0:7860", "-s", "build"]