diff --git a/Dockerfile b/Dockerfile index c28217f..3e10841 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,9 +24,11 @@ COPY . . # Uncomment the following line in case you want to disable telemetry during the build. ENV NEXT_TELEMETRY_DISABLED=1 +ARG DB_FILE_NAME +ENV DB_FILE_NAME=${DB_FILE_NAME} + RUN corepack enable pnpm && pnpm run build; -ENV DB_FILE_NAME=file:data/data.db RUN mkdir -p data RUN pnpm push-db