feat: compose;

feat: frontend added
This commit is contained in:
2025-10-02 22:16:38 +03:00
parent b6c4b9b6bb
commit 90abe15a8f
86 changed files with 15196 additions and 0 deletions

18
Frontend/Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM node:21-alpine as stage1
WORKDIR /app
COPY package.json ./
RUN npm install
FROM node:21-alpine as stage2
WORKDIR /app
COPY . .
COPY --from=stage1 /app/node_modules ./node_modules
RUN npm run build
FROM node:21-alpine as final
WORKDIR /app
ENV NODE_ENV production
COPY --from=stage2 /app ./
EXPOSE 3000
CMD ["npm", "start"]