Spaces:
Sleeping

supermario2 commited on
Commit
e7fb47e
·
verified ·
1 Parent(s): 4e43534

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -7
Dockerfile CHANGED
@@ -1,14 +1,8 @@
1
  FROM docker.io/cloudeye2/cooochat:latest
2
- ARG UID
3
- ARG GID
4
- ENV HOME
5
  ENV PORT=7860
6
  EXPOSE 7860
7
-
8
- RUN chown -R $UID:$GID /app $HOME
9
  # make data directory accessable
10
- RUN mkdir -p /app/backend/data && \
11
- chmod -R 777 /app/backend/data/
12
 
13
  HEALTHCHECK CMD curl --silent --fail http://localhost:${PORT:-8080}/health | jq -ne 'input.status == true' || exit 1
14
  CMD [ "bash", "start.sh"]
 
1
  FROM docker.io/cloudeye2/cooochat:latest
 
 
 
2
  ENV PORT=7860
3
  EXPOSE 7860
 
 
4
  # make data directory accessable
5
+ RUN chmod -R 777 /app/backend/data/
 
6
 
7
  HEALTHCHECK CMD curl --silent --fail http://localhost:${PORT:-8080}/health | jq -ne 'input.status == true' || exit 1
8
  CMD [ "bash", "start.sh"]