webfs/Dockerfile

12 lines
309 B
Docker
Raw Normal View History

2023-03-04 11:17:11 -07:00
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"]