Testing docker builds using CI

This commit is contained in:
Shiny Nematoda 2022-12-13 06:02:51 +00:00
parent a0b6d04858
commit 84e636e486
No known key found for this signature in database
GPG key ID: 6506D50F5613A42D

View file

@ -1,4 +1,4 @@
FROM node:alpine AS build
FROM node:lts-alpine AS build
WORKDIR /app/
@ -7,7 +7,7 @@ COPY . .
RUN npm install && \
npm run build
FROM nginx:alpine
FROM nginx:lts-alpine
COPY --from=build /app/dist/ /usr/share/nginx/html/
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf