도커 업데이트
parent
086d898b68
commit
f25d9c4f22
|
|
@ -16,8 +16,14 @@ RUN apt-get update && apt-get install -y \
|
||||||
git \
|
git \
|
||||||
build-essential \
|
build-essential \
|
||||||
python3 \
|
python3 \
|
||||||
|
python3-dev \
|
||||||
|
python3-pip \
|
||||||
|
ffmpeg \
|
||||||
|
chromium-browser \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
RUN pip install requests cryptography flask 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 - && \
|
||||||
apt-get install -y nodejs && \
|
apt-get install -y nodejs && \
|
||||||
|
|
@ -26,5 +32,4 @@ 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"]
|
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "castad-ai-marketing-video-platform",
|
"name": "castad-ai-marketing-video-platform",
|
||||||
"version": "3.0.0",
|
"version": "3.7.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "castad-ai-marketing-video-platform",
|
"name": "castad-ai-marketing-video-platform",
|
||||||
"version": "3.0.0",
|
"version": "3.7.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ffmpeg/core": "0.12.6",
|
"@ffmpeg/core": "0.12.6",
|
||||||
"@ffmpeg/ffmpeg": "0.12.10",
|
"@ffmpeg/ffmpeg": "0.12.10",
|
||||||
|
|
|
||||||
|
|
@ -18,3 +18,7 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
tty: true
|
tty: true
|
||||||
|
command: >
|
||||||
|
bash -c "
|
||||||
|
./start.sh
|
||||||
|
"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue