Skip to content

Commit 1781a66

Browse files
committed
updated chat Dockerfile
1 parent d0fdcdf commit 1781a66

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker/chat.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ COPY pyproject.toml .
2020
COPY poetry.lock .
2121
RUN poetry export -f requirements.txt --without-hashes | pip install $PIP_ARGS -r /dev/stdin
2222

23-
# Copy scripts and source code
23+
# Copy source code
2424
COPY ./src/statgpt $APP_HOME/statgpt
2525
COPY ./src/common $APP_HOME/common
2626

@@ -30,6 +30,7 @@ USER app
3030

3131
ENV APP_MODE="DIAL"
3232
ENV WEB_CONCURRENCY=1
33+
ENV PYDANTIC_V2=True
3334

3435
EXPOSE 5000
3536

0 commit comments

Comments
 (0)