entrypoint debug changes
This commit is contained in:
parent
36ecf3e89b
commit
a0acc77b4b
@ -1,8 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -ex
|
||||||
|
|
||||||
# Update apt repository, install git, and verify installation.
|
# 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)
|
echo "Git version:" $(git --version)
|
||||||
|
|
||||||
PROJECT_DIR="/app/my-medusa-app"
|
PROJECT_DIR="/app/my-medusa-app"
|
||||||
@ -19,7 +19,6 @@ if [ ! -d "$PROJECT_DIR" ]; then
|
|||||||
npx create-medusa-app@latest my-medusa-app \
|
npx create-medusa-app@latest my-medusa-app \
|
||||||
--db-url "$DATABASE_URL" \
|
--db-url "$DATABASE_URL" \
|
||||||
--no-browser \
|
--no-browser \
|
||||||
--directory-path "/app/" \
|
|
||||||
--with-nextjs-starter
|
--with-nextjs-starter
|
||||||
|
|
||||||
# Change into the project folder, install dependencies and build the app.
|
# Change into the project folder, install dependencies and build the app.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user