mirror of
https://github.com/lyx0/yaf.git
synced 2024-11-13 19:49:53 +01:00
10 lines
172 B
Docker
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"]
|