hotfix 0.9.1 docker fails due to trying to open a browser

This commit is contained in:
dswbx
2025-03-10 12:28:38 +01:00
parent 8550aef606
commit eabae5d3df
4 changed files with 14 additions and 6 deletions

View File

@@ -19,10 +19,10 @@ RUN npm install @libsql/client
# Create volume and init args
VOLUME /data
ENV DEFAULT_ARGS "--db-url file:/data/data.db"
ENV DEFAULT_ARGS="--db-url file:/data/data.db"
# Copy output from builder
COPY --from=builder /output/dist ./dist
EXPOSE 1337
CMD ["pm2-runtime", "dist/cli/index.js run ${ARGS:-${DEFAULT_ARGS}}"]
CMD ["pm2-runtime", "dist/cli/index.js run ${ARGS:-${DEFAULT_ARGS}} --no-open"]