Skip to content

Commit

Permalink
build(): docker build增加环境变量
Browse files Browse the repository at this point in the history
  • Loading branch information
onlyLTY committed Sep 30, 2024
1 parent 7b846ff commit b189d2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ RUN apk add --no-cache tzdata \
# 设置环境变量
ENV secretKey="" \
DOCKER_HOST="tcp://127.0.0.1:9375" \
BACKUP_DIR="/data" \
TZ="Asia/Shanghai"

VOLUME ["/data"]
Expand Down

0 comments on commit b189d2e

Please sign in to comment.