mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-18 13:29:14 +02:00
Update Dockerfile
This commit is contained in:
@@ -47,6 +47,12 @@ WORKDIR /linkwarden
|
|||||||
RUN \
|
RUN \
|
||||||
sed -i "s|postgresql|sqlite|g" /linkwarden/prisma/schema.prisma && \
|
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
|
# Reinstall app
|
||||||
yarn && \
|
yarn && \
|
||||||
npx playwright install-deps && \
|
npx playwright install-deps && \
|
||||||
|
|||||||
Reference in New Issue
Block a user