mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-16 04:02:54 -06:00
fix: docker
This commit is contained in:
parent
60eb923f64
commit
00cb80f173
@ -3,9 +3,6 @@ SERVER_PORT=8080
|
|||||||
# Server URL - Set your application url
|
# Server URL - Set your application url
|
||||||
SERVER_URL=http://localhost:8080
|
SERVER_URL=http://localhost:8080
|
||||||
|
|
||||||
TELEMETRY=true
|
|
||||||
TELEMETRY_URL=
|
|
||||||
|
|
||||||
# Cors - * for all or set separate by commas - ex.: 'yourdomain1.com, yourdomain2.com'
|
# Cors - * for all or set separate by commas - ex.: 'yourdomain1.com, yourdomain2.com'
|
||||||
CORS_ORIGIN=*
|
CORS_ORIGIN=*
|
||||||
CORS_METHODS=GET,POST,PUT,DELETE
|
CORS_METHODS=GET,POST,PUT,DELETE
|
||||||
|
@ -19,6 +19,7 @@ COPY ./prisma ./prisma
|
|||||||
COPY ./manager ./manager
|
COPY ./manager ./manager
|
||||||
COPY ./.env.example ./.env
|
COPY ./.env.example ./.env
|
||||||
COPY ./runWithProvider.js ./
|
COPY ./runWithProvider.js ./
|
||||||
|
COPY ./tsup.config.ts ./
|
||||||
|
|
||||||
COPY ./Docker ./Docker
|
COPY ./Docker ./Docker
|
||||||
|
|
||||||
@ -49,6 +50,7 @@ COPY --from=builder /evolution/public ./public
|
|||||||
COPY --from=builder /evolution/.env ./.env
|
COPY --from=builder /evolution/.env ./.env
|
||||||
COPY --from=builder /evolution/Docker ./Docker
|
COPY --from=builder /evolution/Docker ./Docker
|
||||||
COPY --from=builder /evolution/runWithProvider.js ./runWithProvider.js
|
COPY --from=builder /evolution/runWithProvider.js ./runWithProvider.js
|
||||||
|
COPY --from=builder /evolution/tsup.config.ts ./tsup.config.ts
|
||||||
|
|
||||||
ENV DOCKER_ENV=true
|
ENV DOCKER_ENV=true
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
"main": "./dist/main.js",
|
"main": "./dist/main.js",
|
||||||
"type": "commonjs",
|
"type": "commonjs",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsup src/main.ts --out-dir dist",
|
"build": "tsup",
|
||||||
"start": "tsnd -r tsconfig-paths/register --files --transpile-only ./src/main.ts",
|
"start": "tsnd -r tsconfig-paths/register --files --transpile-only ./src/main.ts",
|
||||||
"start:prod": "node dist/main",
|
"start:prod": "node dist/main",
|
||||||
"dev:server": "clear && tsnd -r tsconfig-paths/register --files --transpile-only --respawn --ignore-watch node_modules ./src/main.ts",
|
"dev:server": "clear && tsnd -r tsconfig-paths/register --files --transpile-only --respawn --ignore-watch node_modules ./src/main.ts",
|
||||||
|
Loading…
Reference in New Issue
Block a user