Spaces:
Build error
Build error
Yannick Stephan commited on
Commit ·
3ed3654
1
Parent(s): d86eab1
[Project] Fixed launcher
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
|
@@ -83,7 +83,6 @@ RUN apt-get update \
|
|
| 83 |
### Create DIRs
|
| 84 |
### ------
|
| 85 |
|
| 86 |
-
|
| 87 |
RUN mkdir -p /app /repo
|
| 88 |
|
| 89 |
### ------
|
|
@@ -99,7 +98,7 @@ RUN cp -r /repo/api_writer/ /app/api_writer
|
|
| 99 |
RUN cp -r /repo/gary /app/gary
|
| 100 |
RUN cp -r /repo/flows /app/flows
|
| 101 |
RUN cp -r /repo/scripts /app/scripts
|
| 102 |
-
|
| 103 |
|
| 104 |
### ------
|
| 105 |
### Install Libs
|
|
@@ -108,6 +107,8 @@ RUN rm -rf /repo
|
|
| 108 |
WORKDIR /app/scripts
|
| 109 |
RUN ./run_install_writepal_modules.sh
|
| 110 |
|
|
|
|
|
|
|
| 111 |
RUN rm -rf $POETRY_CACHE_DIR
|
| 112 |
|
| 113 |
### ------
|
|
@@ -129,6 +130,8 @@ RUN mkdir -p $POETRY_CONFIG_DIR && \
|
|
| 129 |
### Command to run
|
| 130 |
### ------
|
| 131 |
|
|
|
|
|
|
|
| 132 |
# Expose the port FastAPI will run on
|
| 133 |
EXPOSE 7860
|
| 134 |
|
|
|
|
| 83 |
### Create DIRs
|
| 84 |
### ------
|
| 85 |
|
|
|
|
| 86 |
RUN mkdir -p /app /repo
|
| 87 |
|
| 88 |
### ------
|
|
|
|
| 98 |
RUN cp -r /repo/gary /app/gary
|
| 99 |
RUN cp -r /repo/flows /app/flows
|
| 100 |
RUN cp -r /repo/scripts /app/scripts
|
| 101 |
+
|
| 102 |
|
| 103 |
### ------
|
| 104 |
### Install Libs
|
|
|
|
| 107 |
WORKDIR /app/scripts
|
| 108 |
RUN ./run_install_writepal_modules.sh
|
| 109 |
|
| 110 |
+
WORKDIR /
|
| 111 |
+
RUN rm -rf /repo
|
| 112 |
RUN rm -rf $POETRY_CACHE_DIR
|
| 113 |
|
| 114 |
### ------
|
|
|
|
| 130 |
### Command to run
|
| 131 |
### ------
|
| 132 |
|
| 133 |
+
WORKDIR /app/api_writer
|
| 134 |
+
|
| 135 |
# Expose the port FastAPI will run on
|
| 136 |
EXPOSE 7860
|
| 137 |
|