Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -7,6 +7,12 @@ WORKDIR /app
|
|
7 |
# Clone the repository
|
8 |
RUN git clone https://github.com/coleam00/bolt.new-any-llm.git /app
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
# Install dependencies
|
11 |
RUN npm install
|
12 |
|
|
|
7 |
# Clone the repository
|
8 |
RUN git clone https://github.com/coleam00/bolt.new-any-llm.git /app
|
9 |
|
10 |
+
# Create a dynamic .env.local file during build
|
11 |
+
RUN echo "OPENAI_API_KEY=dummy-key\nANTHROPIC_API_KEY=dummy-key\nPORT=5173" > /app/.env.local
|
12 |
+
|
13 |
+
# Ensure proper permissions for wrangler and other files
|
14 |
+
RUN mkdir -p /app/.wrangler/tmp && chmod -R 777 /app
|
15 |
+
|
16 |
# Install dependencies
|
17 |
RUN npm install
|
18 |
|