Copy init.sh to appropriate path

This commit is contained in:
PCoder 2022-09-24 16:45:41 +05:30
parent 2c870df36c
commit 674ab5d288
1 changed files with 3 additions and 0 deletions

View File

@ -56,12 +56,15 @@ RUN pip install --no-cache /wheels/*
# copy entrypoint.prod.sh
COPY ./entrypoint.prod.sh .
COPY ./init.sh /init.sh
RUN sed -i 's/\r$//g' $APP_HOME/entrypoint.prod.sh
RUN chmod +x $APP_HOME/entrypoint.prod.sh
# copy project
COPY . $APP_HOME
# chown all the files to the app user
RUN chown -R app:app $APP_HOME