Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
王小舟
/
ask_data_llm_middleware
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4ab9c4ff
authored
Jun 03, 2026
by
imwangxiaozhou
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
build(docker): 新增品牌同步服务的Docker配置及更新API服务依赖
1 parent
77b13f65
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
0 deletions
docker/Dockerfile.brand_sync
docker/docker-compose.yml
docker/Dockerfile.brand_sync
0 → 100644
View file @
4ab9c4f
FROM python:3.10-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir pysqlite3-binary
COPY . .
RUN mkdir -p data logs
ENV PYTHONPATH=/app
CMD ["python", "bin/run_brand_sync.py"]
docker/docker-compose.yml
View file @
4ab9c4f
...
...
@@ -15,6 +15,20 @@ services:
networks
:
-
merchant_net
brand_sync
:
build
:
context
:
..
dockerfile
:
docker/Dockerfile.brand_sync
container_name
:
merchant-brand-sync
volumes
:
-
merchant_data:/app/data
-
merchant_logs:/app/logs
-
../config.ini:/app/config.ini
-
../.env:/app/.env
restart
:
unless-stopped
networks
:
-
merchant_net
api
:
build
:
context
:
..
...
...
@@ -30,6 +44,7 @@ services:
restart
:
unless-stopped
depends_on
:
-
sync
-
brand_sync
networks
:
-
merchant_net
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment