Skip to content

Commit

Permalink
Run correctly console and container commands
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdal committed Nov 24, 2015
1 parent 34e87ca commit 21e4598
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ EXPOSE 8000
ENV PORT 8000

ENTRYPOINT ["/app/compose/entrypoint.sh"]
CMD uwsgi saleor/wsgi/uwsgi.ini
CMD ["uwsgi saleor/wsgi/uwsgi.ini"]
4 changes: 2 additions & 2 deletions compose/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [ "$APP_UID" != "0" ]; then
if [ "$APP_UID" != "$(id -u $USER)" ]; then
usermod -u "$APP_UID" $USER
fi
su $USER -c "PATH=$PATH:/app/node_modules/.bin $@"
su $USER -c "PATH=$PATH:/app/node_modules/.bin $*"
fi

exec "$@"
$*

0 comments on commit 21e4598

Please sign in to comment.