- Add CSS rules to prevent invisible elements from flashing during page load - Fix vehicle section display conflicts with JavaScript enabling - Ensure calculate button can be properly enabled when requirements are met - Fix results section display after calculation completion - Remove !important declarations that blocked JavaScript functionality 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
17 lines
544 B
Docker
17 lines
544 B
Docker
# 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 |