hugstream-remote / Dockerfile
GitHub Actions
Sync with latest main branch
9f02f14
raw
history blame
527 Bytes
# Nothing to see here...
# Just another container passing by...
# But hey, you found an Easter egg! πŸ₯š
FROM oven/bun:1.2.4-debian
RUN apt-get update -qq && apt-get install -qq -y git ffmpeg aria2
ADD https://httpbin.org/uuid v.json
RUN --mount=type=secret,id=GIT_REPO,mode=0444,required=true \
git clone $(cat /run/secrets/GIT_REPO) /usr/src/app
WORKDIR /usr/src/app
RUN chmod -R 777 /usr/src/app
ENV NODE_ENV=production
RUN bun install --production --no-save
RUN bun run build
ENTRYPOINT [ "bun", "run", "start" ]