Skip to content

Instantly share code, notes, and snippets.

@adamancini
Last active January 22, 2025 22:12
Show Gist options
  • Select an option

  • Save adamancini/9f2a8effb764244fa676c030e658c4fb to your computer and use it in GitHub Desktop.

Select an option

Save adamancini/9f2a8effb764244fa676c030e658c4fb to your computer and use it in GitHub Desktop.
FROM golang:alpine AS build-stage
WORKDIR /app
COPY * /app
RUN go build .
FROM golang:alpine AS run-stage
COPY --from=build-stage /app/fedilogger /app/fedilogger
CMD ["/app/fedilogger"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment