feat: server playground

This commit is contained in:
Max Richter
2025-10-05 23:52:31 +02:00
parent 6d92c92797
commit 5adc3a3cc1
24 changed files with 805 additions and 1 deletions

View File

@@ -10,7 +10,8 @@ RUN --mount=type=cache,target=/go/pkg/mod \
FROM scratch
WORKDIR /app
COPY --from=build /out/server /app/server
COPY --from=build /src/playground/build /app/playground
USER 65532:65532
EXPOSE 8080
CMD ["/server","-root=/app/data","-addr=:8080"]
CMD ["/app/server","-root=/app/data","-addr=:8080","-playground-root=/app/playground"]