update Dockerfile and docker-compose.yml

main
Ubuntu 2025-12-16 05:15:25 +00:00
parent f25d9c4f22
commit 0395bce01a
2 changed files with 3 additions and 1 deletions

View File

@ -32,4 +32,5 @@ RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
# 포트 개방 # 포트 개방
EXPOSE 3000 3001 EXPOSE 3000 3001
WORKDIR /app/data # 컨테이너 실행 상태 유지
CMD ["tail", "-f", "/dev/null"]

View File

@ -7,6 +7,7 @@ services:
dockerfile: Dockerfile dockerfile: Dockerfile
container_name: demo container_name: demo
ports: ports:
- "80:80"
- "3000:3000" - "3000:3000"
- "3001:3001" - "3001:3001"
volumes: volumes: