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 6fb893ff41
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/publish Pipeline was successful
Added development & release image publishing
2022-01-13 13:51:02 +01:00

21 lines
353 B
Docker

FROM chewingbever/vlang:latest AS builder
WORKDIR /app
# Copy over source code & build production binary
COPY src ./src
COPY Makefile ./
RUN make prod
FROM alpine:3.15
ENV REPO_DIR=/data
RUN apk update && \
apk add --no-cache \
libarchive
COPY --from=builder /app/pvieter /usr/local/bin/vieter
ENTRYPOINT [ "/usr/local/bin/vieter" ]