Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Run correctly console and container commands

Adam Bogdał21e4598ef758
diff --git a/Dockerfile b/Dockerfile
index 2ec3164091..af8035e703 100755
--- a/Dockerfile
+++ b/Dockerfile
@@ -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"]
diff --git a/compose/entrypoint.sh b/compose/entrypoint.sh
index 897277ea81..68bf31f33d 100755
--- a/compose/entrypoint.sh
+++ b/compose/entrypoint.sh
@@ -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 "$@"
+$*