Files
VERT/Dockerfile
T
Borewit 784907c39b Use music metadata (#43)
* Replace deprecated jsmediatags with music-metadata

* Avoid streaming from the Blob, to improve performance with Firefox

* End Dockerfile with new line

---------

Co-authored-by: Borewit <Borewit@users.noreply.github.com>
2025-03-09 12:55:28 +00:00

26 lines
390 B
Docker

FROM oven/bun AS builder
WORKDIR /app
ARG PUB_ENV
ARG PUB_HOSTNAME
ARG PUB_PLAUSIBLE_URL
ENV PUB_ENV=${PUB_ENV}
ENV PUB_HOSTNAME=${PUB_HOSTNAME}
ENV PUB_PLAUSIBLE_URL=${PUB_PLAUSIBLE_URL}
COPY package.json ./
RUN bun install
COPY . ./
RUN bun run build
FROM nginx:stable-alpine
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=builder /app/build /usr/share/nginx/html