Skip to content

Commit 00cb80f

Browse files
committed
fix: docker
1 parent 60eb923 commit 00cb80f

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.env.example

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ SERVER_PORT=8080
33
# Server URL - Set your application url
44
SERVER_URL=http://localhost:8080
55

6-
TELEMETRY=true
7-
TELEMETRY_URL=
8-
96
# Cors - * for all or set separate by commas - ex.: 'yourdomain1.com, yourdomain2.com'
107
CORS_ORIGIN=*
118
CORS_METHODS=GET,POST,PUT,DELETE

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ COPY ./prisma ./prisma
1919
COPY ./manager ./manager
2020
COPY ./.env.example ./.env
2121
COPY ./runWithProvider.js ./
22+
COPY ./tsup.config.ts ./
2223

2324
COPY ./Docker ./Docker
2425

@@ -49,6 +50,7 @@ COPY --from=builder /evolution/public ./public
4950
COPY --from=builder /evolution/.env ./.env
5051
COPY --from=builder /evolution/Docker ./Docker
5152
COPY --from=builder /evolution/runWithProvider.js ./runWithProvider.js
53+
COPY --from=builder /evolution/tsup.config.ts ./tsup.config.ts
5254

5355
ENV DOCKER_ENV=true
5456

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "./dist/main.js",
66
"type": "commonjs",
77
"scripts": {
8-
"build": "tsup src/main.ts --out-dir dist",
8+
"build": "tsup",
99
"start": "tsnd -r tsconfig-paths/register --files --transpile-only ./src/main.ts",
1010
"start:prod": "node dist/main",
1111
"dev:server": "clear && tsnd -r tsconfig-paths/register --files --transpile-only --respawn --ignore-watch node_modules ./src/main.ts",

0 commit comments

Comments
 (0)