Update Dockerfile

This commit is contained in:
Alexandre
2024-03-17 14:46:56 +01:00
committed by GitHub
parent 9b2e16afba
commit a32e719182

View File

@@ -47,6 +47,12 @@ WORKDIR /linkwarden
RUN \
sed -i "s|postgresql|sqlite|g" /linkwarden/prisma/schema.prisma && \
\
# add.env
echo "NEXTAUTH_SECRET=homeassistant_key" >> /linkwarden/.env && \
echo "NEXTAUTH_URL=http://localhost:3000/api/v1/auth" >> /linkwarden/.env && \
echo "DATABASE_URL=file:/config/database/linkwarden.sqlite" >> /linkwarden/.env && \
echo "STORAGE_FOLDER=/config/library" >> /linkwarden/.env && \
\
# Reinstall app
yarn && \
npx playwright install-deps && \