fix bug
This commit is contained in:
parent
1850ce0082
commit
4053d55cb6
@ -22,11 +22,8 @@ RUN pip install --upgrade pip && \
|
||||
COPY . $APP_HOME
|
||||
|
||||
RUN sed -i 's/\r$//g' $APP_HOME/entrypoint.sh && \
|
||||
chown -R app:app $APP_HOME && \
|
||||
chmod +x $APP_HOME/entrypoint.sh && \
|
||||
chown root:root $APP_HOME/fix_permissions.sh && \
|
||||
chmod +x $APP_HOME/fix_permissions.sh && \
|
||||
chmod u+s $APP_HOME/fix_permissions.sh
|
||||
chown -R app:app $APP_HOME
|
||||
|
||||
|
||||
USER app
|
||||
|
||||
Loading…
Reference in New Issue
Block a user