Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -5,7 +5,10 @@ FROM node:18
|
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
# Clone the Node-Web-Console repository
|
| 8 |
-
RUN git clone https://github.com/ChrisCindy/node-web-console.git .
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
# Install dependencies
|
| 11 |
RUN npm install
|
|
|
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
# Clone the Node-Web-Console repository
|
| 8 |
+
RUN git clone https://github.com/ChrisCindy/node-web-console.git .
|
| 9 |
+
|
| 10 |
+
# Ensure correct permissions for the /app/static directory
|
| 11 |
+
RUN mkdir -p /app/static && chmod -R 777 /app/static
|
| 12 |
|
| 13 |
# Install dependencies
|
| 14 |
RUN npm install
|