We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb8e42a commit 6a8bba1Copy full SHA for 6a8bba1
Dockerfile
@@ -40,7 +40,9 @@ RUN addgroup -g 1000 ktranslate && \
40
# groupadd --gid 1000 ktranslate; \
41
# useradd --home-dir /etc/ktranslate --gid ktranslate --no-create-home --uid 1000 ktranslate
42
43
-COPY --chown=ktranslate:ktranslate config/ /etc/ktranslate/
+# Some people want to specify an alternative config dir. This lets them override with --build-arg CONFIG-DIR=my-new-dir
44
+ARG CONFIG_DIR=config
45
+COPY --chown=ktranslate:ktranslate ${CONFIG_DIR}/ /etc/ktranslate/
46
COPY --chown=ktranslate:ktranslate lib/ /etc/ktranslate/
47
48
# maxmind db
0 commit comments