# debian.sh --arch 'amd64' out/ 'bookworm' '@1736726400' |
ARG VERSION=3.26.0 |
LABEL maintainer=Heroic Labs |
LABEL contact=support@heroiclabs.com |
LABEL version=3.26.0 |
LABEL variant=nakama |
LABEL description=Distributed server for social and realtime games and apps. |
ENV DEBIAN_FRONTEND=noninteractive |
RUN |1 VERSION=3.26.0 /bin/sh -c mkdir -p /nakama/data/modules && apt-get update && apt-get -y upgrade && apt-get install -y --no-install-recommends ca-certificates tzdata iproute2 tini && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit |
WORKDIR /nakama/ |
COPY /go/build-out/nakama /nakama/ # buildkit |
EXPOSE map[7349/tcp:{} 7350/tcp:{} 7351/tcp:{}] |
ENTRYPOINT ["tini" "--" "/nakama/nakama"] |
HEALTHCHECK &{["CMD-SHELL" "/nakama/nakama healthcheck || exit 1"] "30s" "10s" "0s" "0s" '\x00'} |
COPY /backend/backend.so /nakama/data/modules # buildkit |
COPY /backend/local.yml /nakama/data/ # buildkit |