feat: Add memory limit calculations & server setup/updates

This commit is contained in:
2024-08-25 08:05:37 +02:00
parent dafb86397d
commit b6b72ede02
3 changed files with 51 additions and 0 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM eclipse-temurin:22-alpine
COPY --from=golang:1.22-alpine /usr/local/go/ /usr/local/go/
ENV PATH="/root/go/bin:/usr/local/go/bin:${PATH}"
RUN go install github.com/nothub/mrpack-install@v0.16.10
VOLUME /server
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT [ "/entrypoint.sh" ]