anthracite/Dockerfile
2023-10-20 00:45:20 -04:00

13 lines
304 B
Docker

FROM alpine as build-env
RUN apk add --no-cache build-base python3
COPY ./src/ .
RUN make build-release
FROM alpine
RUN apk add --no-cache build-base
COPY --from=build-env /anthracite /anthracite
COPY --from=build-env /www /www
COPY --from=build-env /error_pages /error_pages
CMD ["/anthracite"]