fedilogue/fedilogger/Dockerfile
Farhan Khan a427b27a80 Restructuring of go modules and Dockerfiles
Moving to new git repository location
2025-01-24 04:36:22 +00:00

12 lines
221 B
Docker

FROM golang:latest AS build
WORKDIR /build
COPY go.mod go.sum .
RUN go mod download
COPY . .
RUN go build .
FROM alpine:latest
WORKDIR /app
COPY --from=build /build/fedilogger /app/fedilogger
ENTRYPOINT ["/app/restapi"]