iamfebin commited on
Commit
205ed20
·
1 Parent(s): a42236e

fix(docker): provision runtime directories and remove missing data directory copy

Browse files
Files changed (3) hide show
  1. .dockerignore +1 -0
  2. .gitignore +1 -1
  3. Dockerfile +1 -1
.dockerignore CHANGED
@@ -18,6 +18,7 @@ __pycache__/
18
  sync.log
19
  debug_cookies.txt
20
  debug_db.txt
 
21
 
22
  # Git & environment
23
  .git/
 
18
  sync.log
19
  debug_cookies.txt
20
  debug_db.txt
21
+ data/
22
 
23
  # Git & environment
24
  .git/
.gitignore CHANGED
@@ -20,7 +20,7 @@ sandbox.db
20
  sync.log
21
  debug_cookies.txt
22
  debug_db.txt
23
- data/companion_telemetry*.json
24
  companion_telemetry*.json
25
  .ruff_cache/
26
 
 
20
  sync.log
21
  debug_cookies.txt
22
  debug_db.txt
23
+ data/
24
  companion_telemetry*.json
25
  .ruff_cache/
26
 
Dockerfile CHANGED
@@ -34,9 +34,9 @@ ENV PATH="/app/.venv/bin:$PATH"
34
  # Copy application source and assets
35
  COPY --chown=user:user *.py schema.sql README.md ./
36
  COPY --chown=user:user core/ ./core/
37
- COPY --chown=user:user data/ ./data/
38
  COPY --chown=user:user routers/ ./routers/
39
  COPY --chown=user:user src/ ./src/
 
40
 
41
  # Sync the project itself
42
  RUN uv sync --frozen
 
34
  # Copy application source and assets
35
  COPY --chown=user:user *.py schema.sql README.md ./
36
  COPY --chown=user:user core/ ./core/
 
37
  COPY --chown=user:user routers/ ./routers/
38
  COPY --chown=user:user src/ ./src/
39
+ RUN mkdir -p /app/data /app/scratch
40
 
41
  # Sync the project itself
42
  RUN uv sync --frozen