yolo_web/Dockerfile

10 lines
160 B
Docker
Executable File

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