Fix the initial address one should access after seeding
Some checks failed
Build Nginx-based docker image / build-static-assets (push) Has been cancelled
Some checks failed
Build Nginx-based docker image / build-static-assets (push) Has been cancelled
This commit is contained in:
parent
4441cedf9b
commit
b377e9abe2
@ -10,12 +10,7 @@ WORKDIR /app
|
|||||||
|
|
||||||
# Install dependencies based on the preferred package manager
|
# Install dependencies based on the preferred package manager
|
||||||
COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./
|
COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./
|
||||||
RUN \
|
RUN corepack enable pnpm && pnpm i --frozen-lockfile;
|
||||||
if [ -f yarn.lock ]; then yarn --frozen-lockfile; \
|
|
||||||
elif [ -f package-lock.json ]; then npm ci; \
|
|
||||||
elif [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm i --frozen-lockfile; \
|
|
||||||
else echo "Lockfile not found." && exit 1; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
COPY . /app/
|
COPY . /app/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user