Dockerize

This commit is contained in:
2020-08-05 21:49:25 -04:00
parent aca92d07bb
commit 46450cbfd3
7 changed files with 86 additions and 1 deletions

14
toolbox-web/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM node:10 as build
COPY ./ /app
WORKDIR app
RUN npm install
RUN npm run build
FROM nginx:alpine
COPY --from=build /app/dist /webroot
COPY nginx.conf /etc/nginx/
EXPOSE 80