mirror of
https://gitea.com/gitea/tea.git
synced 2024-11-23 19:11:38 +01:00
11 lines
239 B
Docker
11 lines
239 B
Docker
FROM cgr.dev/chainguard/go:latest AS buildenv
|
|
COPY . /build/
|
|
WORKDIR /build
|
|
RUN make clean build STATIC=true
|
|
|
|
FROM cgr.dev/chainguard/static:latest
|
|
COPY --from=buildenv /build/tea /tea
|
|
VOLUME [ "/app" ]
|
|
ENV HOME="/app"
|
|
ENTRYPOINT ["/tea"]
|