A decentralized music tracking and discovery platform built on AT Protocol 馃幍
at 52b51438f838194403eb3bd64f7606ae2d3d0a7b 39 lines 656 B view raw
1FROM node:22 AS builder 2 3RUN apt-get update && apt-get install -y curl 4 5RUN curl -fsSL https://bun.sh/install | bash 6 7RUN npm install -g turbo 8 9ENV PATH="/root/.bun/bin:${PATH}" 10 11WORKDIR /app 12 13COPY ./apps ./apps 14 15COPY ./crates ./crates 16 17COPY ./package.json ./package.json 18 19COPY ./bun.lock ./bun.lock 20 21COPY ./turbo.json ./turbo.json 22 23RUN bun install 24 25ARG VITE_API_URL 26 27ENV VITE_API_URL=$VITE_API_URL 28 29RUN turbo build --filter=@rocksky/web 30 31FROM caddy:alpine 32 33COPY --from=builder /app/apps/web/dist /usr/share/caddy 34 35COPY ./apps/web/Caddyfile /etc/caddy/Caddyfile 36 37EXPOSE 80 38 39CMD ["caddy", "run", "--config", "/etc/caddy/Caddyfile", "--adapter", "caddyfile"]