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"]

View File

@ -7,6 +7,7 @@ docker run \
--volume "$(pwd)/public:/app/public" \
--volume "$(pwd)/data:/app/data" \
--publish 3000:3000 \
--publish 3001:3001 \
--name voice-rss-summary \
-d \
--restart always \