Skip to content

Commit de80adf

Browse files
authored
docker cfg
1 parent 53a0da7 commit de80adf

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

docs/.vuepress/public/Caddyfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
:80
2+
3+
root * /www/html
4+
try_files {path}.html
5+
file_server

docs/.vuepress/public/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM halverneus/static-file-server:latest
1+
FROM caddy:latest
22

33
# Copy your static files
4-
COPY . /web
4+
COPY . /www/html
5+
COPY ./Caddyfile /etc/caddy/Caddyfile

0 commit comments

Comments
 (0)