moved permission fix to boot.sh

This commit is contained in:
vabene1111 2020-06-03 21:31:56 +02:00
parent 35b038a33c
commit a0332c432d
2 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,6 @@ RUN mkdir /opt/recipes
WORKDIR /opt/recipes
COPY . ./
RUN chmod +x boot.sh setup.sh
RUN chmod 755 /opt/recipes/mediafiles
RUN ln -s /opt/recipes/setup.sh /usr/local/bin/createsuperuser
RUN apk add --no-cache --virtual .build-deps gcc musl-dev postgresql-dev zlib-dev jpeg-dev && \

View File

@ -6,4 +6,5 @@ python manage.py migrate
python manage.py collectstatic --noinput
echo "Done"
exec chmod 755 /opt/recipes/mediafiles
exec gunicorn -b :8080 --access-logfile - --error-logfile - recipes.wsgi