Testing gh actions
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user