Copy init.sh to appropriate path
This commit is contained in:
parent
2c870df36c
commit
674ab5d288
1 changed files with 3 additions and 0 deletions
|
@ -56,12 +56,15 @@ RUN pip install --no-cache /wheels/*
|
||||||
|
|
||||||
# copy entrypoint.prod.sh
|
# copy entrypoint.prod.sh
|
||||||
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 sed -i 's/\r$//g' $APP_HOME/entrypoint.prod.sh
|
||||||
RUN chmod +x $APP_HOME/entrypoint.prod.sh
|
RUN chmod +x $APP_HOME/entrypoint.prod.sh
|
||||||
|
|
||||||
# copy project
|
# copy project
|
||||||
COPY . $APP_HOME
|
COPY . $APP_HOME
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# chown all the files to the app user
|
# chown all the files to the app user
|
||||||
RUN chown -R app:app $APP_HOME
|
RUN chown -R app:app $APP_HOME
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue