FROM nginx:alpine

# Copy custom nginx configuration
COPY ../frontend/default.conf /etc/nginx/conf.d/default.conf

# Copy static files to nginx html directory
COPY ../frontend/public/ /usr/share/nginx/html/

EXPOSE 80

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