mirror-yaf/Dockerfile
2022-08-14 13:29:12 +02:00

10 lines
172 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
RUN mkdir -p /var/www/jaf
CMD ["./jaf"]