Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 21de709

Browse files
authored
Merge pull request #38 from homeylab/fix_docker_file
fix dockerfile image args
2 parents aeed142 + 3969549 commit 21de709

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ RUN apt update -y && apt upgrade -y && \
1616
# create docker user
1717
RUN useradd -M -s /usr/sbin/nologin -u 33333 exporter
1818

19-
ARG DOCKER_WORK_DIR
20-
ARG DOCKER_CONFIG_DIR
21-
ARG DOCKER_EXPORT_DIR
19+
ARG DOCKER_WORK_DIR=/export
20+
ARG DOCKER_CONFIG_DIR=/export/config
21+
ARG DOCKER_EXPORT_DIR=/export/dump
2222

2323
ENV DOCKER_CONFIG_DIR=${DOCKER_CONFIG_DIR}
2424
ENV DOCKER_EXPORT_DIR=${DOCKER_EXPORT_DIR}

0 commit comments

Comments
 (0)