Spaces:
Sleeping
Sleeping
Gabriel Luiz Freitas Almeida
commited on
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
|
@@ -16,14 +16,13 @@ RUN git clone https://github.com/logspace-ai/langflow.git $LANGFLOW_HOME \
|
|
| 16 |
RUN chown -R pn:pn $LANGFLOW_HOME
|
| 17 |
# Copy the code into the container
|
| 18 |
WORKDIR $LANGFLOW_HOME
|
| 19 |
-
COPY . .
|
| 20 |
|
| 21 |
USER pn
|
| 22 |
# Create logs directory and set permissions
|
| 23 |
RUN mkdir logs && chmod 777 logs
|
| 24 |
|
| 25 |
# Set permissions for database folder
|
| 26 |
-
RUN chmod 777 /home/pn
|
| 27 |
|
| 28 |
# Update the config.yaml file, build and install the langflow package
|
| 29 |
RUN make setup_poetry && make install_frontend && make build_frontend && make install_backend
|
|
|
|
| 16 |
RUN chown -R pn:pn $LANGFLOW_HOME
|
| 17 |
# Copy the code into the container
|
| 18 |
WORKDIR $LANGFLOW_HOME
|
|
|
|
| 19 |
|
| 20 |
USER pn
|
| 21 |
# Create logs directory and set permissions
|
| 22 |
RUN mkdir logs && chmod 777 logs
|
| 23 |
|
| 24 |
# Set permissions for database folder
|
| 25 |
+
RUN chmod 777 /home/pn/langflow
|
| 26 |
|
| 27 |
# Update the config.yaml file, build and install the langflow package
|
| 28 |
RUN make setup_poetry && make install_frontend && make build_frontend && make install_backend
|