Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -8
Dockerfile
CHANGED
@@ -1,23 +1,19 @@
|
|
1 |
-
# Use Node.js 18 base image
|
2 |
FROM node:18
|
3 |
|
4 |
-
# Set the working directory
|
5 |
WORKDIR /app
|
6 |
|
7 |
-
|
|
|
8 |
RUN git clone https://github.com/coleam00/bolt.new-any-llm.git /app
|
9 |
|
10 |
-
# Install pnpm globally
|
11 |
RUN npm install -g pnpm
|
12 |
|
13 |
-
# Install dependencies
|
14 |
RUN pnpm install
|
15 |
|
16 |
-
|
|
|
17 |
RUN pnpm build
|
18 |
|
19 |
-
# Expose the application port
|
20 |
EXPOSE 5173
|
21 |
|
22 |
-
# Start the application
|
23 |
CMD ["pnpm", "start"]
|
|
|
|
|
1 |
FROM node:18
|
2 |
|
|
|
3 |
WORKDIR /app
|
4 |
|
5 |
+
RUN apt-get update && apt-get install -y libc++1 libc++abi1
|
6 |
+
|
7 |
RUN git clone https://github.com/coleam00/bolt.new-any-llm.git /app
|
8 |
|
|
|
9 |
RUN npm install -g pnpm
|
10 |
|
|
|
11 |
RUN pnpm install
|
12 |
|
13 |
+
ENV MINIFLARE_NO_RUNTIME_CHECK=true
|
14 |
+
|
15 |
RUN pnpm build
|
16 |
|
|
|
17 |
EXPOSE 5173
|
18 |
|
|
|
19 |
CMD ["pnpm", "start"]
|