Skip to content

Commit c8c728b

Browse files
committed
fixing Dockerfile
1 parent 9ab7bae commit c8c728b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hack/Dockerfile.nginx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ FROM nginx:alpine
44
COPY target/uki.efi /usr/share/nginx/html/feos.uki
55

66
# Add MIME type for .uki files
7-
RUN echo 'types {\n application/efi uki;\n}' > /etc/nginx/mime.types
7+
RUN echo "types {" > /etc/nginx/mime.types
8+
RUN echo " application/efi uki;" >> /etc/nginx/mime.types
9+
RUN echo "}" >> /etc/nginx/mime.types
810

911
# Create a simple index page
1012
RUN echo '<html><body><h1>FeOS UKI Server</h1><p><a href="/feos.uki">Download FeOS UKI (x86_64)</a></p></body></html>' > /usr/share/nginx/html/index.html

0 commit comments

Comments
 (0)