FROM images.internal/devel:latest AS builder WORKDIR /app COPY . /app RUN make build FROM images.internal/golang:latest COPY --from=builder /app/config_dev.yaml /app/config_dev.yaml COPY --from=builder /app/pastebin /app/pastebin COPY --from=builder /app/webui/dist /app/webui/dist/ EXPOSE 38001 ENTRYPOINT [ "./pastebin", "api" ]