webfs/Dockerfile

12 lines
309 B
Docker

FROM golang:1-bullseye AS build
RUN apt-get update
RUN apt-get -y --no-install-recommends install libavutil-dev libswscale-dev libavformat-dev libgraphicsmagick-dev
WORKDIR /src
COPY go.* ./
COPY pkg ./pkg/
COPY cmd ./cmd/
COPY web /web
RUN go get ./...
RUN go install ./...
ENTRYPOINT ["/go/bin/simpleauth"]