# ./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;"]