aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-12-03 03:39:44 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2022-12-03 03:39:44 +0100
commit3c4941bb88ac6bcfd93e297a922be4b80b8991ea (patch)
treea569764896bfecd6c72d9c757bb5867cac690e7b /docker/Dockerfile
parentdocker: refactor entrypoint.sh (diff)
downloadcgitize-3c4941bb88ac6bcfd93e297a922be4b80b8991ea.tar.gz
cgitize-3c4941bb88ac6bcfd93e297a922be4b80b8991ea.zip
docker: chmod o-rwx the output directory
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 08b7ad4..6bc6847 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -14,13 +14,14 @@ LABEL maintainer="Egor Tensin <Egor.Tensin@gmail.com>"
RUN apk add --no-cache bash git openssh-client python3 tini
COPY --from=build ["/deps", "/deps/"]
-ENV PYTHONPATH="/deps"
+ENV PYTHONPATH="/deps:/usr/src"
ARG ssh_sock_dir=/
ARG ssh_sock_path="$ssh_sock_dir/ssh-agent.sock"
ENV SSH_AUTH_SOCK "$ssh_sock_path"
COPY ["docker/entrypoint.sh", "/"]
+COPY ["docker/get_output_dir.py", "/"]
COPY ["cgitize/", "/usr/src/cgitize/"]
WORKDIR /usr/src