Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -5
Dockerfile
CHANGED
@@ -27,8 +27,6 @@ RUN MODEL_NAME="${MODEL_NAME:="$(cat /defaults/MODEL_NAME)"}" && export MODEL_NA
|
|
27 |
envsubst < "entrypoint.sh.template" > "entrypoint.sh" \
|
28 |
&& rm entrypoint.sh.template
|
29 |
|
30 |
-
RUN cat entrypoint.sh
|
31 |
-
|
32 |
# RUN mkdir /app
|
33 |
# RUN chown -R 1000:1000 /app
|
34 |
RUN mkdir -p /data/db
|
@@ -45,7 +43,7 @@ ENV HOME=/home/user \
|
|
45 |
COPY app app
|
46 |
RUN pip install -r app/requirements.txt
|
47 |
|
48 |
-
|
49 |
-
CMD ["entrypoint.sh"]
|
50 |
-
|
51 |
|
|
|
|
|
|
27 |
envsubst < "entrypoint.sh.template" > "entrypoint.sh" \
|
28 |
&& rm entrypoint.sh.template
|
29 |
|
|
|
|
|
30 |
# RUN mkdir /app
|
31 |
# RUN chown -R 1000:1000 /app
|
32 |
RUN mkdir -p /data/db
|
|
|
43 |
COPY app app
|
44 |
RUN pip install -r app/requirements.txt
|
45 |
|
46 |
+
RUN cat entrypoint.sh
|
|
|
|
|
47 |
|
48 |
+
ENTRYPOINT ["/bin/bash"]
|
49 |
+
CMD ["entrypoint.sh"]
|