diff options
| author | 2025-09-06 09:39:23 +0200 | |
|---|---|---|
| committer | 2025-09-06 09:39:23 +0200 | |
| commit | 9149959f10249859ae2fd1edfbbef12d938f6a6c (patch) | |
| tree | a2466245854438bff8c8d50d2db4b51d2cfc2cfe /Dockerfile | |
| parent | Merge branch 'master' of grunfink-codeberg:grunfink/snac2 (diff) | |
| parent | Examples: Docker Swarm with Traefik and container build script. (diff) | |
| download | snac2-9149959f10249859ae2fd1edfbbef12d938f6a6c.tar.gz snac2-9149959f10249859ae2fd1edfbbef12d938f6a6c.tar.xz snac2-9149959f10249859ae2fd1edfbbef12d938f6a6c.zip | |
Merge pull request 'Docker: add timezone, new examples for building and complete Swarm mode stack with Traefik' (#465) from daltux/snac2:docker_tzdata into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/465
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -9,8 +9,9 @@ RUN apk -U --no-progress --no-cache add curl-dev build-base && \ | |||
| 9 | cp examples/docker-entrypoint.sh /build/out/usr/local/bin/entrypoint.sh | 9 | cp examples/docker-entrypoint.sh /build/out/usr/local/bin/entrypoint.sh |
| 10 | 10 | ||
| 11 | FROM alpine:${ALPINE_VERSION} | 11 | FROM alpine:${ALPINE_VERSION} |
| 12 | RUN apk -U --no-progress --no-cache add libcurl | 12 | RUN apk -U --no-progress --no-cache add libcurl tzdata |
| 13 | COPY --from=builder /build/out / | 13 | COPY --from=builder /build/out / |
| 14 | EXPOSE 5050 | 14 | EXPOSE 5050 |
| 15 | VOLUME [ "/data" ] | 15 | VOLUME [ "/data" ] |
| 16 | ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ] | 16 | ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ] |
| 17 | |||