mirror of
https://github.com/stackblitz/bolt.new
synced 2025-02-06 04:48:04 +00:00
Update Dockerfile
Co-authored-by: Sleeyax <yourd3veloper@gmail.com>
This commit is contained in:
parent
5f62d1fb2d
commit
65629d07ff
@ -4,12 +4,13 @@ WORKDIR /app
|
|||||||
|
|
||||||
RUN npm install -g pnpm
|
RUN npm install -g pnpm
|
||||||
|
|
||||||
|
# Install dependencies (this step is cached as long as the dependencies don't change)
|
||||||
|
COPY package.json package-lock.json .
|
||||||
|
RUN pnpm install
|
||||||
|
|
||||||
# Copy the rest of your app's source code
|
# Copy the rest of your app's source code
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Install dependencies
|
|
||||||
RUN pnpm install
|
|
||||||
|
|
||||||
# Expose the port the app runs on
|
# Expose the port the app runs on
|
||||||
EXPOSE 5173
|
EXPOSE 5173
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user