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
16 lines
319 B
Nginx Configuration File
16 lines
319 B
Nginx Configuration File
# ./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;"] |