hermes/Dockerfile
imterah 356cfb8dca
All checks were successful
Release code / build (push) Successful in 5m33s
fix: Fixes action workflows.
2025-01-09 08:00:37 -05:00

10 lines
396 B
Docker

FROM golang:latest AS build
WORKDIR /build
COPY . /build
RUN cd backend; bash build.sh
FROM busybox:stable-glibc AS run
WORKDIR /app
COPY --from=build /build/backend/backends.prod.json /app/backends.json
COPY --from=build /build/backend/api/api /app/hermes
COPY --from=build /build/backend/sshbackend/sshbackend /app/sshbackend
ENTRYPOINT ["/app/hermes", "--backends-path", "/app/backends.json"]