Initial commit

This commit is contained in:
Manuel 2023-01-07 13:00:00 +01:00
commit ba7938dcf4
Signed by: Manuel
GPG key ID: 4085037435E1F07A
13 changed files with 909 additions and 0 deletions

13
Dockerfile Normal file
View file

@ -0,0 +1,13 @@
FROM thevlang/vlang:alpine AS build
WORKDIR /tmp/app
COPY . .
RUN v -prod .
FROM alpine:latest
WORKDIR /app
COPY --from=build /tmp/app/highscore-server .
COPY --from=build /tmp/app/config.example.toml ./config.toml
ENTRYPOINT [ "./highscore-server" ]