choco-conoz commited on
Commit
091427b
·
1 Parent(s): 991ab18

feat: add env

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -17,7 +17,8 @@ COPY src/ ./src/
17
  COPY pyproject.toml README.md /app
18
  RUN poetry install
19
 
20
- ENV PATH=“${PATH}:/root/.local/bin:src”
 
21
 
22
  EXPOSE 8501
23
 
 
17
  COPY pyproject.toml README.md /app
18
  RUN poetry install
19
 
20
+ ENV VIRTUAL_ENV=/app/.venv
21
+ ENV PATH="$VIRTUAL_ENV/bin:$PATH"
22
 
23
  EXPOSE 8501
24