mirror of
https://gitea.com/gitea/tea.git
synced 2024-09-01 04:14:18 -04:00
11 lines
215 B
Docker
11 lines
215 B
Docker
FROM cgr.dev/chainguard/go:latest AS build
|
|
COPY . /build/
|
|
WORKDIR /build
|
|
RUN make build
|
|
|
|
FROM cgr.dev/chainguard/static:latest
|
|
COPY --from=build /build/tea /tea
|
|
VOLUME [ "/app" ]
|
|
ENV HOME="/app"
|
|
ENTRYPOINT ["/tea"]
|