no dir listing
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
This commit is contained in:
parent
b55df10410
commit
aa3dda41b5
@ -20,5 +20,5 @@ FROM denoland/deno:1.36.1 AS prod
|
|||||||
WORKDIR /site
|
WORKDIR /site
|
||||||
RUN deno install --allow-net --allow-read https://deno.land/std@0.198.0/http/file_server.ts
|
RUN deno install --allow-net --allow-read https://deno.land/std@0.198.0/http/file_server.ts
|
||||||
COPY --from=build /build/dist .
|
COPY --from=build /build/dist .
|
||||||
CMD ["file_server", "--port", "3000"]
|
CMD ["file_server", "--port", "3000", "--no-dir-listing"]
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
Loading…
Reference in New Issue
Block a user