CoolFace
Apppublic

Alph4Centauri/email-summerization-ui

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
0likes
Dockerfile26 linesDownload Raw Back to root
1FROM nginx:alpine2 3# Create writable temp directories4RUN mkdir -p /tmp/nginx/client_temp /tmp/nginx/proxy_temp /tmp/nginx/fastcgi_temp /tmp/nginx/uwsgi_temp /tmp/nginx/scgi_temp5 6# Copy nginx configuration7COPY nginx.conf /etc/nginx/nginx.conf8 9# Copy static files directly10COPY taskpane.html /usr/share/nginx/html/taskpane.html11COPY taskpane.js /usr/share/nginx/html/taskpane.js12COPY commands.js /usr/share/nginx/html/commands.js13COPY manifest.xml /usr/share/nginx/html/manifest.xml14 15# Create assets directory (even if empty)16RUN mkdir -p /usr/share/nginx/html/assets17 18# Set proper permissions19RUN chmod -R 755 /usr/share/nginx/html && \20    chmod -R 777 /tmp/nginx21 22# Expose port23EXPOSE 786024 25# Start nginx26CMD ["nginx", "-g", "daemon off;"]