chore: update environment configuration and deployment scripts

- Added production environment variables to docker-compose.yml
- Updated Dockerfile for API and web to use Turbo build commands
- Modified turbo.json to include new environment variables
- Updated API index.ts to use new environment configuration
- Updated README.md with correct API port
- Added start:api script to package.json
- Improved deployment and configuration management
This commit is contained in:
Juan Sebastián Montoya 2025-03-06 23:08:10 -05:00
parent 9a2e69921e
commit 1e5a035d33
7 changed files with 28 additions and 17 deletions

View file

@ -21,7 +21,7 @@ COPY . .
ARG NODE_ENV
ARG VITE_API_URL
ARG VITE_WS_URL
RUN npm run web:build
RUN npx turbo run build --filter=web
# Production image, copy all the files and run the server
FROM base AS runner