Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Mar 17, 2024
1 parent 9b2e16a commit a32e719
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions linkwarden/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit a32e719

Please sign in to comment.