Add Dockerfile

This commit is contained in:
Perflyst 2021-01-07 16:03:29 +01:00 committed by Cadence Ember
parent 5d03438fa1
commit 8518f01633
Signed by untrusted user: cadence
GPG Key ID: BC1C2C61CF521B17
1 changed files with 8 additions and 0 deletions

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM node:14.5.0-alpine as build
WORKDIR /app
COPY . .
RUN npm install
RUN npm run build
FROM nginx:alpine as app
COPY --from=build /app/build/ /usr/share/nginx/html/