anthracite/Dockerfile
Nicholas Orlowsky d6eb46d310
v0.1.1
2023-10-17 13:16:31 -04:00

13 lines
296 B
Docker

FROM alpine as build-env
RUN apk add --no-cache build-base
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"]