Skip to content

Commit

Permalink
moved permission fix to boot.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
vabene1111 committed Jun 3, 2020
1 parent 35b038a commit a0332c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down
1 change: 1 addition & 0 deletions boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a0332c4

Please sign in to comment.