entrypoint debug changes

This commit is contained in:
Ryan 2025-04-09 23:09:55 +10:00
parent 36ecf3e89b
commit a0acc77b4b

View File

@ -1,8 +1,8 @@
#!/bin/sh
set -e
set -ex
# Update apt repository, install git, and verify installation.
apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
apt-get update -y && apt-get install -y git && rm -rf /var/lib/apt/lists/*
echo "Git version:" $(git --version)
PROJECT_DIR="/app/my-medusa-app"
@ -19,7 +19,6 @@ if [ ! -d "$PROJECT_DIR" ]; then
npx create-medusa-app@latest my-medusa-app \
--db-url "$DATABASE_URL" \
--no-browser \
--directory-path "/app/" \
--with-nextjs-starter
# Change into the project folder, install dependencies and build the app.