| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,9 +3,6 @@ SERVER_PORT=8080 | |||
| 3 | 3 | # Server URL - Set your application url | |
| 4 | 4 | SERVER_URL=http://localhost:8080 | |
| 5 | 5 | ||
| 6 | - TELEMETRY=true | ||
| 7 | - TELEMETRY_URL= | ||
| 8 | - | ||
| 9 | 6 | # Cors - * for all or set separate by commas - ex.: 'yourdomain1.com, yourdomain2.com' | |
| 10 | 7 | CORS_ORIGIN=* | |
| 11 | 8 | CORS_METHODS=GET,POST,PUT,DELETE | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,6 +19,7 @@ COPY ./prisma ./prisma | |||
| 19 | 19 | COPY ./manager ./manager | |
| 20 | 20 | COPY ./.env.example ./.env | |
| 21 | 21 | COPY ./runWithProvider.js ./ | |
| 22 | + COPY ./tsup.config.ts ./ | ||
| 22 | 23 | ||
| 23 | 24 | COPY ./Docker ./Docker | |
| 24 | 25 | ||
@@ -49,6 +50,7 @@ COPY --from=builder /evolution/public ./public | |||
| 49 | 50 | COPY --from=builder /evolution/.env ./.env | |
| 50 | 51 | COPY --from=builder /evolution/Docker ./Docker | |
| 51 | 52 | COPY --from=builder /evolution/runWithProvider.js ./runWithProvider.js | |
| 53 | + COPY --from=builder /evolution/tsup.config.ts ./tsup.config.ts | ||
| 52 | 54 | ||
| 53 | 55 | ENV DOCKER_ENV=true | |
| 54 | 56 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,7 +5,7 @@ | |||
| 5 | 5 | "main": "./dist/main.js", | |
| 6 | 6 | "type": "commonjs", | |
| 7 | 7 | "scripts": { | |
| 8 | - "build": "tsup src/main.ts --out-dir dist", | ||
| 8 | + "build": "tsup", | ||
| 9 | 9 | "start": "tsnd -r tsconfig-paths/register --files --transpile-only ./src/main.ts", | |
| 10 | 10 | "start:prod": "node dist/main", | |
| 11 | 11 | "dev:server": "clear && tsnd -r tsconfig-paths/register --files --transpile-only --respawn --ignore-watch node_modules ./src/main.ts", | |
| Back | FazBrowse Home | New Git URL |
0 commit comments