gitea-tea/Dockerfile

13 lines
330 B
Docker
Raw Normal View History

FROM docker.io/chainguard/go:latest AS build
2023-09-10 06:35:56 +02:00
COPY . /build/
WORKDIR /build
RUN make build && mkdir -p /app/.config/tea
2023-09-10 06:35:56 +02:00
FROM docker.io/chainguard/busybox:latest-glibc
COPY --from=build /build/tea /bin/tea
COPY --from=build --chown=65532:65532 /app /app
2023-09-10 06:35:56 +02:00
VOLUME [ "/app" ]
ENV HOME="/app"
ENTRYPOINT ["/bin/sh", "-c"]
CMD [ "tea" ]