Testing gh actions

This commit is contained in:
2020-11-07 22:48:50 -03:00
parent 77c892af50
commit db3f511d89
6 changed files with 76 additions and 6 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM node:12 as build-stage
WORKDIR /app
COPY package*.json /app/
RUN npm install
COPY ./ /app/
RUN npm run build
FROM nginx:1.15
COPY --from=build-stage /app/build/ /usr/share/nginx/html
COPY --from=build-stage /app/nginx.conf /etc/nginx/conf.d/default.conf