Update Dockerfile
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
|
@@ -9,8 +9,6 @@ WORKDIR /app
|
|
| 9 |
# Clone the repo
|
| 10 |
RUN git clone --depth=1 --branch stable https://github.com/stackblitz-labs/bolt.diy.git .
|
| 11 |
|
| 12 |
-
# Mark directory as safe for git
|
| 13 |
-
RUN git config --global --add safe.directory /app
|
| 14 |
|
| 15 |
# Install pnpm globally
|
| 16 |
RUN npm install -g pnpm
|
|
@@ -22,4 +20,4 @@ RUN pnpm install
|
|
| 22 |
EXPOSE 7860
|
| 23 |
|
| 24 |
# Start the development server
|
| 25 |
-
CMD ["pnpm", "run", "dev", "
|
|
|
|
| 9 |
# Clone the repo
|
| 10 |
RUN git clone --depth=1 --branch stable https://github.com/stackblitz-labs/bolt.diy.git .
|
| 11 |
|
|
|
|
|
|
|
| 12 |
|
| 13 |
# Install pnpm globally
|
| 14 |
RUN npm install -g pnpm
|
|
|
|
| 20 |
EXPOSE 7860
|
| 21 |
|
| 22 |
# Start the development server
|
| 23 |
+
CMD ["pnpm", "run", "dev", "-p", "7860"]
|