yolo_web/Dockerfile

9 lines
158 B
Docker
Executable File

FROM node:lts-alpine
WORKDIR /code
COPY ./dist /code/dist
COPY ./package*.json /code/
RUN npm install --only-production
CMD ["npm", "run", "start"]