add docker support
This commit is contained in:
parent
b7b00db726
commit
18b2308c9f
8
Dockerfile
Normal file
8
Dockerfile
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
FROM node:latest AS build
|
||||||
|
ADD . /app
|
||||||
|
WORKDIR /app
|
||||||
|
RUN npm install && npm run build
|
||||||
|
|
||||||
|
FROM nginx:stable
|
||||||
|
COPY --from=build /app/dist /usr/share/nginx/html
|
||||||
|
ADD nginx-site.conf /etc/nginx/conf.d/default.conf
|
Loading…
Reference in New Issue
Block a user