FROM nginx:alpine

# Set production environment
ENV VITE_APP_ENV=production

COPY ./dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/nginx.conf

EXPOSE 80

CMD ["nginx", "-g", "daemon off;"]
