docker compose yml 수정
parent
36ab59e0e6
commit
0f05827f40
|
|
@ -19,10 +19,14 @@ RUN apt-get update && apt-get install -y \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
|
nodejs \
|
||||||
|
nginx \
|
||||||
chromium-browser \
|
chromium-browser \
|
||||||
|
certbot \
|
||||||
|
python3-certbot-nginx \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN pip install requests cryptography flask python-dotenv Pillow --break-system-packages
|
RUN pip install requests cryptography flask flask_cors python-dotenv Pillow --break-system-packages
|
||||||
|
|
||||||
# Node.js 및 npm 설치
|
# Node.js 및 npm 설치
|
||||||
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
|
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
39458
|
53
|
||||||
|
|
|
||||||
|
|
@ -2616,12 +2616,12 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/jsonwebtoken/node_modules/jws": {
|
"node_modules/jsonwebtoken/node_modules/jws": {
|
||||||
"version": "3.2.2",
|
"version": "3.2.3",
|
||||||
"resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz",
|
"resolved": "https://registry.npmjs.org/jws/-/jws-3.2.3.tgz",
|
||||||
"integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==",
|
"integrity": "sha512-byiJ0FLRdLdSVSReO/U4E7RoEyOCKnEnEPMjq3HxWtvzLsV08/i5RQKsFVNkCldrCaPr2vDNAOMsfs8T/Hze7g==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"jwa": "^1.4.1",
|
"jwa": "^1.4.2",
|
||||||
"safe-buffer": "^5.0.1"
|
"safe-buffer": "^5.0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -2643,12 +2643,12 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/jws": {
|
"node_modules/jws": {
|
||||||
"version": "4.0.0",
|
"version": "4.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/jws/-/jws-4.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/jws/-/jws-4.0.1.tgz",
|
||||||
"integrity": "sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==",
|
"integrity": "sha512-EKI/M/yqPncGUUh44xz0PxSidXFr/+r0pA70+gIYhjv+et7yxM+s29Y+VGDkovRofQem0fs7Uvf4+YmAdyRduA==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"jwa": "^2.0.0",
|
"jwa": "^2.0.1",
|
||||||
"safe-buffer": "^5.0.1"
|
"safe-buffer": "^5.0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -122,7 +122,7 @@ echo -e "${CYAN}─────────────────────
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
# concurrently로 동시 실행 (환경변수 명시적 전달)
|
# concurrently로 동시 실행 (환경변수 명시적 전달)
|
||||||
npx concurrently \
|
npx --yes concurrently \
|
||||||
--names "VITE,NODE" \
|
--names "VITE,NODE" \
|
||||||
--prefix-colors "cyan,green" \
|
--prefix-colors "cyan,green" \
|
||||||
"VITE_BACKEND_PORT=$BACKEND_PORT npx vite --port $FRONTEND_PORT" \
|
"VITE_BACKEND_PORT=$BACKEND_PORT npx vite --port $FRONTEND_PORT" \
|
||||||
|
|
|
||||||
|
|
@ -12,12 +12,15 @@ services:
|
||||||
- ./castad-data:/app/data
|
- ./castad-data:/app/data
|
||||||
- ./local-data:/app/local-data
|
- ./local-data:/app/local-data
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=development
|
||||||
working_dir: /app/data
|
working_dir: /app/data
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
tty: true
|
tty: true
|
||||||
command: >
|
# command: >
|
||||||
bash -c "
|
# bash -c "
|
||||||
./start.sh
|
# # npm install -g --silent
|
||||||
"
|
# # cd server && npm install -g --silent
|
||||||
|
# # cd ../
|
||||||
|
# # ./start.sh
|
||||||
|
# "
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue