Spaces:
Build error
Build error
mphycx
commited on
Commit
•
2a4db2f
1
Parent(s):
a43b69f
fix script permission
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -3,6 +3,8 @@ RUN mkdir -p /.jina
|
|
3 |
RUN chmod 777 /.jina
|
4 |
RUN mkdir -p /.cache
|
5 |
RUN chmod 777 /.cache
|
|
|
|
|
6 |
|
7 |
RUN apt-get update && apt-get install -y \
|
8 |
build-essential \
|
@@ -31,6 +33,8 @@ COPY app.py app.py
|
|
31 |
COPY api.py api.py
|
32 |
COPY start_script.sh start_script.sh
|
33 |
|
|
|
|
|
34 |
EXPOSE 7860
|
35 |
EXPOSE 8080
|
36 |
|
|
|
3 |
RUN chmod 777 /.jina
|
4 |
RUN mkdir -p /.cache
|
5 |
RUN chmod 777 /.cache
|
6 |
+
RUN mkdir -p /app
|
7 |
+
RUN chmod 777 /app
|
8 |
|
9 |
RUN apt-get update && apt-get install -y \
|
10 |
build-essential \
|
|
|
33 |
COPY api.py api.py
|
34 |
COPY start_script.sh start_script.sh
|
35 |
|
36 |
+
RUN chmod 777 /app/start_script.sh
|
37 |
+
|
38 |
EXPOSE 7860
|
39 |
EXPOSE 8080
|
40 |
|