# Use nginx to serve the static HTML file FROM nginx:alpine # Copy the main application file COPY tax.html /usr/share/nginx/html/index.html # Copy required JavaScript files for vehicle database functionality COPY vehicle-database.js /usr/share/nginx/html/vehicle-database.js COPY vehicle-search.js /usr/share/nginx/html/vehicle-search.js # Copy nginx configuration if needed (optional optimization) # COPY nginx.conf /etc/nginx/nginx.conf # Expose port 80 EXPOSE 80 # nginx will start automatically with the default CMD from the base image