initial commit

This commit is contained in:
Karli
2025-09-18 19:02:11 +03:00
commit f8a7da141f
55 changed files with 8461 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
### STAGE 1: Build ###
# We label our stage as builder
FROM node:16 as builder
WORKDIR /app
COPY . .
RUN yarn install
RUN yarn build:live
# runner container
# - nginx, to serve static built React app
# nginx state for serving content
FROM nginx:stable-alpine
COPY --from=builder /app/dist /usr/share/nginx/html
COPY deploy/production/nginx/nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]