This repository has been archived on 2026-01-06. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
vieter/Dockerfile
Jef Roosens 65f113cdee
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Added Dockerfile & beginning of vweb server
2022-01-09 09:29:11 +01:00

15 lines
234 B
Docker

FROM thevlang/vlang:alpine-dev AS builder
WORKDIR /src
COPY vieter ./vieter
RUN v -prod vieter
FROM alpine:3.15.0
ENV REPO_DIR=/data
COPY --from=builder /src/vieter/vieter /usr/local/bin/
ENTRYPOINT [ "/usr/local/bin/vieter" ]