fix: set REPOS_DIR=/repo and create the directory in Dockerfile
This commit is contained in:
parent
b41cf94d27
commit
7d6db76ceb
2 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ RUN apt-get update \
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Site project mount points
|
# Site project mount points
|
||||||
RUN mkdir -p /site /memoraiz /data
|
RUN mkdir -p /site /memoraiz /data /repo
|
||||||
|
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ class Settings(BaseSettings):
|
||||||
ADVISOR_MAX_TOKENS: int = 700
|
ADVISOR_MAX_TOKENS: int = 700
|
||||||
|
|
||||||
# Paths
|
# Paths
|
||||||
REPOS_DIR: str = "/repos"
|
REPOS_DIR: str = "/repo"
|
||||||
DATA_DIR: str = "/data"
|
DATA_DIR: str = "/data"
|
||||||
TG_PERSISTENCE_DIR: str = ""
|
TG_PERSISTENCE_DIR: str = ""
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue