Changes
1 changed files (+9/-2)
-
-
@@ -15,14 +15,14 @@ COPY renderer ./rendererCOPY git ./git COPY routes ./routes COPY embed ./embed RUN go build -o /bin/legit RUN go build -o /bin/legit -ldflags="-X 'main.additionalAccessDirs=/usr/lib,/lib'" # Scratch image does not have mkdir. RUN mkdir -p /var/www/legit # --- FROM scratch FROM alpine/git:2.54.0 WORKDIR /etc/legit COPY --from=build /bin/legit /bin/legit
-
@@ -46,6 +46,13 @@ VOLUME ["/var/www/legit"]# you want. EXPOSE 5555 # Override default entrypoint set by alpine/git. ENTRYPOINT [] # Prevent git from accessing config files. ENV GIT_CONFIG_GLOBAL=/dev/null ENV GIT_CONFIG_SYSTEM=/dev/null # File paths and listen address depend on how the container was built. # Users are not supposed to change these options. CMD [ \
-