fix: copying .env and set default values for docker img

This commit is contained in:
Manuel
2023-09-03 17:02:50 +02:00
parent 1958b70dee
commit 35db402376
3 changed files with 8 additions and 3 deletions

View File

@@ -7,4 +7,7 @@ npm-debug.log
.github
LICENSE
docs/
*.sqlite
*.sqlite
*.env
.env
.next/standalone/.env

View File

@@ -24,6 +24,8 @@ RUN yarn global add prisma
# Expose the default application port
EXPOSE 7575
ENV DATABASE_URL "file:../database/db.sqlite"
ENV NEXTAUTH_URL "http://localhost:3000"
ENV PORT 7575
ENV NEXTAUTH_SECRET NOT_IN_USE_BECAUSE_JWTS_ARE_UNUSED

View File

@@ -22,8 +22,8 @@
"test:ui": "vitest --ui",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage",
"docker:build": "turbo build && docker build . -t homarr:dev",
"docker:start": "docker run -p 7575:7575 homarr:dev ",
"docker:build": "turbo build && docker build . -t homarr:local-dev",
"docker:start": "docker run -p 7575:7575 --name homarr-development homarr:local-dev",
"postinstall": "prisma generate"
},
"dependencies": {