adding frontend to cicd
Some checks failed
Build and Deploy Backend / Run Linters and Tests (Backend) (push) Successful in 19s
Build and Deploy Backend / Build (Backend) (push) Has been cancelled
Build and Deploy Backend / Build Native Android App (EAS) (push) Has been cancelled
Build and Deploy Backend / Deploy to Host (push) Has been cancelled
Build and Deploy Backend / Build (Frontend Web) (push) Has been cancelled

This commit is contained in:
c-d-p
2025-05-01 14:47:03 +02:00
parent 7914be4f4d
commit 40da78d7cd
27 changed files with 1561 additions and 55 deletions

View File

@@ -0,0 +1,16 @@
# ./frontend/Dockerfile.nginx
FROM nginx:1.28-alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Remove default Nginx welcome page
RUN rm /usr/share/nginx/html/*
# Copy the pre-built Expo web output
COPY dist/ /usr/share/nginx/html
EXPOSE 80
# Start Nginx in the foreground
CMD ["nginx", "-g", "daemon off;"]