Initial commit
This commit is contained in:
commit
ba7938dcf4
13 changed files with 909 additions and 0 deletions
13
Dockerfile
Normal file
13
Dockerfile
Normal 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" ]
|
Loading…
Add table
Add a link
Reference in a new issue