editView almost done

This commit is contained in:
2025-03-12 19:38:00 +01:00
commit cf2049798a
29 changed files with 3663 additions and 0 deletions

24
Dockerfile Normal file
View File

@@ -0,0 +1,24 @@
# Budowanie aplikacji
FROM node:lts-alpine AS build
WORKDIR /app
COPY ./app/package*.json ./
RUN npm install
COPY ./app .
RUN npm run build
# Serwowanie za pomocą NGINX
FROM nginx:alpine
# Skopiuj zbudowaną aplikację
COPY --from=build /app/dist /usr/share/nginx/html
# Skopiuj własną konfigurację NGINX
COPY ./nginx/default.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]