mirror of
https://github.com/Kizuren/uLinkShortener.git
synced 2025-12-21 21:16:17 +01:00
Fixed docker
This commit is contained in:
parent
8729e57def
commit
6e9e30f82c
2 changed files with 2 additions and 1 deletions
|
|
@ -18,6 +18,7 @@ COPY --from=builder /app/package.json ./package.json
|
|||
COPY --from=builder /app/next.config.ts ./next.config.ts
|
||||
|
||||
RUN bun install --production
|
||||
RUN bun add typescript
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["bun", "run", "start"]
|
||||
|
|
@ -7,7 +7,7 @@ services:
|
|||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
- MONGO_URI=mongodb://justasuser:veryimportantpasswd@mongo:27017/ulinkshortener?authSource=admin
|
||||
- MONGO_URI=mongodb://justauser:veryimportantpasswd@mongo:27017/ulinkshortener?authSource=admin
|
||||
- MONGO_DB_NAME=ulinkshortener
|
||||
- NEXTAUTH_SECRET=${NEXTAUTH_SECRET}
|
||||
- NEXTAUTH_URL=${NEXTAUTH_URL}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue