feat: dockerfiles

This commit is contained in:
Smigz 2024-08-08 15:33:46 -04:00
parent 8398636f01
commit 7d149f5130
8 changed files with 44 additions and 3 deletions

View file

@ -0,0 +1,14 @@
FROM node:18 as build
WORKDIR /app
COPY . ./
RUN npm install
ENV NODE_ENV production
RUN npm app build
FROM nginx:alpine
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80