The SDK directory was not being copied to the Docker image, causing 404 errors when accessing /sdk. Added COPY statement to include the entire sdk/ directory with its subdirectories and downloadable templates. Also added logo.jpg to the copy list for completeness. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
21 lines
493 B
Docker
21 lines
493 B
Docker
FROM nginx:alpine
|
|
|
|
# Copy website files to nginx html directory
|
|
COPY index.html /usr/share/nginx/html/
|
|
COPY styles.css /usr/share/nginx/html/
|
|
COPY script.js /usr/share/nginx/html/
|
|
COPY logo.png /usr/share/nginx/html/
|
|
COPY logo.jpg /usr/share/nginx/html/
|
|
|
|
# Copy SDK directory with templates
|
|
COPY sdk/ /usr/share/nginx/html/sdk/
|
|
|
|
# Copy custom nginx configuration
|
|
COPY nginx-site.conf /etc/nginx/conf.d/default.conf
|
|
|
|
# Expose port 80
|
|
EXPOSE 80
|
|
|
|
# Start nginx
|
|
CMD ["nginx", "-g", "daemon off;"]
|