fix(docker): fix the building process of docker image (#2844)
Co-authored-by: Clément Michaud <clement.michaud34@gmail.com>pull/2831/head^2
parent
5dd0cfb8c7
commit
380e6fccb6
|
@ -1,5 +1,26 @@
|
||||||
# Ignore All
|
# CI/Git Directories
|
||||||
*
|
.git
|
||||||
|
.cache
|
||||||
|
.buildkite
|
||||||
|
.github
|
||||||
|
coverage.txt
|
||||||
|
Dockerfile*
|
||||||
|
|
||||||
|
# Node Modules Directories
|
||||||
|
**/node_modules
|
||||||
|
|
||||||
|
# Documentation
|
||||||
|
docs
|
||||||
|
examples
|
||||||
|
|
||||||
|
# Dot Files and Markdown
|
||||||
|
.*
|
||||||
|
*.md
|
||||||
|
|
||||||
|
# Other
|
||||||
|
internal/server/public_html
|
||||||
|
authelia.service
|
||||||
|
bootstrap.sh
|
||||||
|
|
||||||
# Overrides
|
# Overrides
|
||||||
!authelia-linux-*
|
!authelia-linux-*
|
||||||
|
|
|
@ -55,7 +55,7 @@ ENV PATH="/app:${PATH}" \
|
||||||
RUN \
|
RUN \
|
||||||
apk --no-cache add ca-certificates su-exec tzdata
|
apk --no-cache add ca-certificates su-exec tzdata
|
||||||
|
|
||||||
COPY --from=builder-backend /go/src/app/cmd/authelia/authelia /go/src/app/LICENSE /go/src/app/entrypoint.sh /go/src/app/healthcheck.sh /go/src/app/.healthcheck.env ./
|
COPY --from=builder-backend /go/src/app/authelia /go/src/app/LICENSE /go/src/app/entrypoint.sh /go/src/app/healthcheck.sh /go/src/app/.healthcheck.env ./
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
chmod 0666 /app/.healthcheck.env
|
chmod 0666 /app/.healthcheck.env
|
||||||
|
|
Loading…
Reference in New Issue