This commit is contained in:
2025-06-07 13:26:05 +09:00
parent c57a37c9dd
commit d642b913ab
2 changed files with 6 additions and 4 deletions

View File

@@ -14,9 +14,10 @@ COPY . .
RUN bun install
RUN bun run build:frontend
RUN bun run build:admin
# Expose the port your app runs on
EXPOSE 3000
# Expose the ports your app runs on
EXPOSE 3000 3001
# Command to run the application
CMD ["bun", "run", "/app/server.ts"]
# Start both servers
CMD ["sh", "-c", "bun run /app/server.ts & bun run /app/admin-server.ts & wait"]