# Auto-generated by GitBlixt for static HTML/CSS sites FROM docker.io/nginx:alpine COPY . /usr/share/nginx/html RUN printf 'server {\n listen 4000;\n root /usr/share/nginx/html;\n index index.html;\n location / { try_files $uri $uri/ /index.html; }\n}\n' \ > /etc/nginx/conf.d/default.conf ENV PORT=4000 EXPOSE 4000 CMD ["nginx", "-g", "daemon off;"]