gallyga commited on
Commit
e609022
·
verified ·
1 Parent(s): aa0a9e3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -19,11 +19,11 @@ RUN mkdir -p ~/.halo2
19
  ENV VIRTUAL_ENV=/opt/venv
20
  RUN python3 -m venv $VIRTUAL_ENV
21
  ENV PATH="$VIRTUAL_ENV/bin:$PATH"
22
- RUN pip install --no-cache-dir huggingface_hub
23
 
24
  COPY sync_data.sh /opt/halo/
25
  RUN chmod +x /opt/halo/sync_data.sh
26
 
27
  EXPOSE 8090
28
 
29
- CMD ["/bin/sh", "-c", "/opt/halo/sync_data.sh"]
 
19
  ENV VIRTUAL_ENV=/opt/venv
20
  RUN python3 -m venv $VIRTUAL_ENV
21
  ENV PATH="$VIRTUAL_ENV/bin:$PATH"
22
+ RUN pip install --no-cache-dir requests webdavclient3
23
 
24
  COPY sync_data.sh /opt/halo/
25
  RUN chmod +x /opt/halo/sync_data.sh
26
 
27
  EXPOSE 8090
28
 
29
+ CMD ["/bin/sh", "-c", "/opt/halo/sync_data.sh & sleep 30 && java ${JVM_OPTS} -jar /opt/halo/halo.jar"]