initial commit

This commit is contained in:
2024-12-27 02:06:36 -05:00
parent 9c5f9a3c17
commit 3163cb1b96
15 changed files with 380 additions and 76 deletions
+21
View File
@@ -0,0 +1,21 @@
FROM node:22-alpine AS build
WORKDIR /app
COPY . .
RUN yarn
RUN yarn build
FROM nginx:alpine AS runtime
RUN rm /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80
# Start Nginx
CMD ["nginx", "-g", "daemon off;"]