mirror-yaf/Dockerfile
Rasmus Karlsson 728e6452b3 Add Docker support
Instructions for how to build & use it added to README.md

Add GitHub workflow to publishing the docker image to the
GitHub Container Repository
2022-08-14 13:29:12 +02:00

9 lines
146 B
Docker

FROM golang:alpine as build
WORKDIR /app
COPY . .
RUN go build
FROM alpine:latest
COPY --from=build /app/jaf /app/jaf
WORKDIR /app
CMD ["./jaf"]