mirror of
https://github.com/stackblitz/bolt.new
synced 2025-06-26 18:17:50 +00:00
Update Dockerfile (fix docker deployment)
This commit is contained in:
parent
ecf3cad189
commit
a87eae2119
@ -6,7 +6,10 @@ WORKDIR /app
|
|||||||
# Install dependencies (this step is cached as long as the dependencies don't change)
|
# Install dependencies (this step is cached as long as the dependencies don't change)
|
||||||
COPY package.json pnpm-lock.yaml ./
|
COPY package.json pnpm-lock.yaml ./
|
||||||
|
|
||||||
RUN corepack enable pnpm && pnpm install
|
#RUN npm install -g corepack@latest
|
||||||
|
|
||||||
|
#RUN corepack enable pnpm && pnpm install
|
||||||
|
RUN npm install -g pnpm && pnpm install
|
||||||
|
|
||||||
# Copy the rest of your app's source code
|
# Copy the rest of your app's source code
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user