obs-portal/frontend/Dockerfile

11 lines
285 B
Docker
Raw Normal View History

2021-11-25 19:13:10 +00:00
FROM node:17
WORKDIR /opt/obs/frontend
ADD package.json package-lock.json /opt/obs/frontend/
RUN echo update-notifier=false >> ~/.npmrc
RUN npm ci
ADD tsconfig.json index.html webpack.config.js /opt/obs/frontend/
ADD public/ /opt/obs/frontend/public/
ADD src/ /opt/obs/frontend/src/