Working fix pre merge
This commit is contained in:
@@ -58,14 +58,15 @@ RUN pip install --no-cache /wheels/*
|
||||
# copy entrypoint-prod.sh
|
||||
COPY ./entrypoint.prod.sh $APP_HOME
|
||||
|
||||
|
||||
# copy project
|
||||
COPY . $APP_HOME
|
||||
|
||||
RUN chmod u+x $APP_HOME/entrypoint.prod.sh
|
||||
# chown all the files to the app user
|
||||
RUN chown -R app:app $APP_HOME
|
||||
|
||||
# a workaround for permission errors for the classla_volume
|
||||
RUN mkdir $HOME/classla_resources && chown app:app $HOME/classla_resources
|
||||
# RUN mkdir $HOME/classla_resources && chown app:app $HOME/classla_resources
|
||||
|
||||
# change to the app user
|
||||
USER app
|
||||
|
||||
Reference in New Issue
Block a user