rileyandlizzy.wedding/Dockerfile

12 lines
209 B
Docker
Raw Permalink Normal View History

2023-12-27 16:38:39 -05:00
FROM node:lts AS build
WORKDIR /app
COPY . .
RUN npm install
RUN npm run build
FROM nginx:latest AS runner
COPY --from=build /app/dist /usr/share/nginx/html
COPY ./nginx.conf /etc/nginx/conf.d/default.conf