chore: remove unused files

This commit is contained in:
vishal
2025-09-01 13:56:40 +05:30
parent 321993bb52
commit effa0d8d70
2 changed files with 1 additions and 29 deletions

View File

@@ -55,9 +55,7 @@ COPY --from=builder --chown=apiuser:nodejs /app/node_modules ./node_modules
# Set working directory to the API
WORKDIR /app/sdk/tests/ts-api
# Set environment and user
ENV NODE_ENV=production
ENV PORT=3000
USER apiuser
EXPOSE 3000

View File

@@ -1,26 +0,0 @@
#!/bin/bash
# Build the TypeScript API Docker image
# This script should be run from the monorepo root
set -e
echo " Building TypeScript API Docker image..."
# Check if we're in the monorepo root
if [ ! -f "package.json" ] || [ ! -d "sdk/tests/ts-api" ]; then
echo " Error: This script must be run from the monorepo root"
echo "Please run: cd ../../../ && ./sdk/tests/ts-api/docker-build.sh"
exit 1
fi
# Build the Docker image
docker build -f sdk/tests/ts-api/Dockerfile -t selfxyz-ts-api:latest .
echo " Docker image 'selfxyz-ts-api:latest' built successfully!"
echo ""
echo "To run the container:"
echo " docker run -p 3000:3000 selfxyz-ts-api:latest"
echo ""
echo "Or use docker-compose:"
echo " cd sdk/tests/ts-api && docker-compose up"