# Stage 1
FROM golang:alpine AS daemon-build-env
...
RUN go build -o /bin/inertia
# Stage 2
FROM alpine
COPY --from=daemon-build-env /bin/inertia /usr/local/bin
ENTRYPOINT ["inertia", "run"]
Inertia's image is currently just ~20mb, including the web app
Inertia's example: https://github.com/ubclaunchpad/inertia/blob/master/Dockerfile#L14
In a nutshell:
Inertia's image is currently just ~20mb, including the web app