File tree Expand file tree Collapse file tree 2 files changed +3
-22
lines changed
Expand file tree Collapse file tree 2 files changed +3
-22
lines changed Original file line number Diff line number Diff line change @@ -20,17 +20,16 @@ COPY pyproject.toml .
2020COPY poetry.lock .
2121RUN 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
2424COPY ./src/alembic.ini $APP_HOME/alembic.ini
25- COPY ./scripts/admin.sh $APP_HOME/admin.sh
2625COPY ./src/admin_portal $APP_HOME/admin_portal
2726COPY ./src/common $APP_HOME/common
2827
2928# create the app user and chown workdir to the app user
3029RUN adduser -u 5678 --system --disabled-password --gecos "" app && chown -R app $APP_HOME
3130USER app
3231
33- ENV APP_MODE="DIAL"
3432ENV WEB_CONCURRENCY=1
33+ ENV PYDANTIC_V2=True
3534
36- CMD ["sh" , "admin.sh" ]
35+ CMD ["sh" , "admin_portal/ admin.sh" ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments