Spaces:
Runtime error
Runtime error
WTF langgraph
Browse files- Dockerfile +2 -13
Dockerfile
CHANGED
@@ -13,22 +13,11 @@ COPY dist ./dist
|
|
13 |
COPY package.json ./
|
14 |
COPY langgraph.json ./
|
15 |
|
16 |
-
# Create an empty .gitignore file
|
17 |
-
RUN touch .gitignore
|
18 |
-
|
19 |
# Install dependencies using pnpm
|
20 |
RUN pnpm install
|
21 |
|
22 |
-
# Create
|
23 |
-
RUN
|
24 |
-
|
25 |
-
# Change ownership before switching user
|
26 |
-
RUN chown -R appuser:appuser /app
|
27 |
-
|
28 |
-
# Make sure .gitignore is writable
|
29 |
-
RUN chmod 664 /app/.gitignore
|
30 |
-
|
31 |
-
USER appuser
|
32 |
|
33 |
# Expose the port
|
34 |
EXPOSE 7860
|
|
|
13 |
COPY package.json ./
|
14 |
COPY langgraph.json ./
|
15 |
|
|
|
|
|
|
|
16 |
# Install dependencies using pnpm
|
17 |
RUN pnpm install
|
18 |
|
19 |
+
# Create an empty .gitignore file with proper permissions
|
20 |
+
RUN touch .gitignore && chmod 666 .gitignore
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
# Expose the port
|
23 |
EXPOSE 7860
|