fix: switch back to alpine to avoid networking issues #146
@ -44,11 +44,11 @@ RUN ldd target/$(cat rust_target)/release/vaultwarden && \
|
||||
target/$(cat rust_target)/release/vaultwarden --help && \
|
||||
target/$(cat rust_target)/release/vaultwarden --version
|
||||
|
||||
FROM scratch
|
||||
FROM docker.io/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0
|
||||
|
||||
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.title="vaultwarden"
|
||||
LABEL org.opencontainers.image.title="Vaultwarden"
|
||||
LABEL org.opencontainers.image.url="https://gitea.rknet.org/container/vaultwarden"
|
||||
LABEL org.opencontainers.image.source="https://gitea.rknet.org/container/vaultwarden"
|
||||
LABEL org.opencontainers.image.documentation="https://gitea.rknet.org/container/vaultwarden"
|
||||
@ -61,11 +61,13 @@ ENV WEBSOCKET_PORT=3012
|
||||
|
||||
COPY --from=build --chown=65532:65532 /data /data
|
||||
COPY --from=build /release/web-vault /web-vault
|
||||
COPY --from=build /src/target/**/release/vaultwarden /
|
||||
COPY --from=build /src/target/**/release/vaultwarden /bin/vaultwarden
|
||||
|
||||
EXPOSE 8000
|
||||
EXPOSE 3012
|
||||
|
||||
STOPSIGNAL SIGTERM
|
||||
|
||||
CMD ["/vaultwarden"]
|
||||
USER 65532
|
||||
|
||||
CMD ["/bin/vaultwarden"]
|
||||
|
Loading…
Reference in New Issue
Block a user