feat: Initialize a React application with Vite for image analysis and translation, configured with Docker and Gitea CI/CD.
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 51s

This commit is contained in:
almazlar
2026-02-08 23:36:40 +03:00
parent 3ed4a4e985
commit 282b5f4d19
20 changed files with 3883 additions and 338 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
# Build Stage
FROM node:20-alpine as build
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
# Production Stage
FROM nginx:alpine
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]