butterflyvu (amd64)
Published 2024-10-24 16:26:58 -05:00 by Korbs
Installation
docker pull ark.sudovanilla.org/korbs/butterflyvu:amd64
sha256:1e23804176da23aa80ac583d943f626284c926f0df26bd68d799043827a55611
Image Layers
ADD file:1b8ac8ec2b2cbdfc9682f076e7e579579d6df6235ed23b2e63f8eec671c52e92 in / |
CMD ["bash"] |
ARG BUN_RUNTIME_TRANSPILER_CACHE_PATH=0 |
ENV BUN_RUNTIME_TRANSPILER_CACHE_PATH=0 |
ARG BUN_INSTALL_BIN=/usr/local/bin |
ENV BUN_INSTALL_BIN=/usr/local/bin |
COPY docker-entrypoint.sh /usr/local/bin # buildkit |
COPY /usr/local/bin/bun /usr/local/bin/bun # buildkit |
RUN |2 BUN_RUNTIME_TRANSPILER_CACHE_PATH=0 BUN_INSTALL_BIN=/usr/local/bin /bin/sh -c groupadd bun --gid 1000 && useradd bun --uid 1000 --gid bun --shell /bin/sh --create-home && ln -s /usr/local/bin/bun /usr/local/bin/bunx && which bun && which bunx && bun --version # buildkit |
WORKDIR /home/bun/app |
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"] |
CMD ["/usr/local/bin/bun"] |
WORKDIR /app |
COPY . . # buildkit |
RUN /bin/sh -c bun install -g agitcms # buildkit |
ENV NODE_ENV=production |
RUN /bin/sh -c bun install && bun run build # buildkit |
USER bun |
EXPOSE map[2014/tcp:{}] |
EXPOSE map[3000/tcp:{}] |
CMD ["/bin/sh" "-c" "bun start ; agitcms"] |