Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +7 -4
Dockerfile
CHANGED
|
@@ -21,19 +21,22 @@ RUN npm install -g flowise
|
|
| 21 |
|
| 22 |
RUN ls -la
|
| 23 |
|
|
|
|
|
|
|
| 24 |
# Configure Flowise directories using the ARG
|
| 25 |
RUN mkdir -p $LOG_PATH $FLOWISE_PATH/uploads && chmod -R 777 $LOG_PATH $FLOWISE_PATH
|
| 26 |
|
| 27 |
-
WORKDIR /
|
| 28 |
|
| 29 |
RUN ls -la && pwd
|
| 30 |
|
| 31 |
-
|
| 32 |
-
|
| 33 |
|
|
|
|
| 34 |
# Afficher le contenu du dossier et le chemin complet
|
| 35 |
#RUN ls /data/erbot_doc && cd /data/erbot_doc && pwd
|
| 36 |
|
| 37 |
#RUN cd ..
|
| 38 |
|
| 39 |
-
|
|
|
|
| 21 |
|
| 22 |
RUN ls -la
|
| 23 |
|
| 24 |
+
RUN pwd
|
| 25 |
+
|
| 26 |
# Configure Flowise directories using the ARG
|
| 27 |
RUN mkdir -p $LOG_PATH $FLOWISE_PATH/uploads && chmod -R 777 $LOG_PATH $FLOWISE_PATH
|
| 28 |
|
| 29 |
+
WORKDIR /data
|
| 30 |
|
| 31 |
RUN ls -la && pwd
|
| 32 |
|
| 33 |
+
RUN mkdir /data/erbot_doc && chmod -R 777 /data/erbot_doc
|
| 34 |
+
COPY erbot_doc /data/erbot_doc
|
| 35 |
|
| 36 |
+
RUN ls
|
| 37 |
# Afficher le contenu du dossier et le chemin complet
|
| 38 |
#RUN ls /data/erbot_doc && cd /data/erbot_doc && pwd
|
| 39 |
|
| 40 |
#RUN cd ..
|
| 41 |
|
| 42 |
+
CMD ["npx", "flowise", "start"]
|