mirror of
https://github.com/VERT-sh/VERT.git
synced 2026-05-24 17:38:59 -05:00
784907c39b
* 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>
26 lines
390 B
Docker
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
|