mirror of
https://github.com/gurucomputing/headscale-ui.git
synced 2026-01-23 02:34:43 +00:00
dockerfile updates
This commit is contained in:
parent
7f039c2b0f
commit
d398ac8399
2 changed files with 3 additions and 3 deletions
|
|
@ -43,7 +43,7 @@ WORKDIR /staging
|
|||
# Copy across the scripts folder
|
||||
COPY scripts/* ./scripts/
|
||||
# Copy default caddy config from project root
|
||||
COPY ../../Caddyfile /staging/Caddyfile
|
||||
COPY ./Caddyfile /staging/Caddyfile
|
||||
COPY --from=build /staging/${PROJECT_NAME}/build /web
|
||||
|
||||
RUN apk add --no-cache caddy
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#----#
|
||||
# placeholder for testing
|
||||
while true; do sleep 1; done
|
||||
# while true; do sleep 1; done
|
||||
#----#
|
||||
|
||||
# check if /data/Caddyfile exists, copy across if not
|
||||
|
|
@ -13,4 +13,4 @@ then
|
|||
fi
|
||||
|
||||
echo "Starting Caddy"
|
||||
/usr/bin/caddy run --adapter caddyfile --config /data/Caddyfile
|
||||
/usr/sbin/caddy run --adapter caddyfile --config /data/Caddyfile
|
||||
Loading…
Add table
Add a link
Reference in a new issue