Replace Woodpecker CI pipelines with GitHub/Forgejo Actions workflows using the ci-base:1.0.0 image. Simplify Makefile by removing unused variables and adopting a cleaner help target. Switch goreleaser from dockers_v2 to dockers + docker_manifests for per-arch image builds. Update Containerfile to Alpine 3.23 and fix nfpm description.
21 lines
594 B
Docker
21 lines
594 B
Docker
FROM alpine:3.23
|
|
LABEL maintainer="Felipe Martin <me@fmartingr.com>"
|
|
LABEL org.opencontainers.image.source="https://git.nakama.town/fmartingr/hako"
|
|
|
|
RUN apk add --no-cache \
|
|
poppler-utils \
|
|
ca-certificates \
|
|
tzdata \
|
|
&& apk add --no-cache --repository https://dl-cdn.alpinelinux.org/alpine/v3.23/community yt-dlp ffmpeg
|
|
|
|
RUN addgroup -g 1000 hako && adduser -u 1000 -G hako -s /bin/sh -D hako
|
|
|
|
WORKDIR /app
|
|
COPY hako /usr/local/bin/hako
|
|
RUN chown -R hako:hako /app
|
|
|
|
USER hako
|
|
EXPOSE 8080
|
|
|
|
ENTRYPOINT ["/usr/local/bin/hako"]
|
|
CMD ["server", "--config", "/app/config/config.yaml"]
|