mirror-yaf/Dockerfile
2023-09-04 17:42:54 +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/yaf /app/yaf
WORKDIR /app
RUN mkdir -p /var/www/yaf
CMD ["./yaf"]