14 lines
255 B
Text
14 lines
255 B
Text
|
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" ]
|