circulartext commited on
Commit
44dd441
1 Parent(s): 23fcb7a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -1,3 +1,5 @@
 
 
1
  # Set the working directory to /app
2
  WORKDIR /app
3
 
@@ -8,7 +10,7 @@ COPY . /app
8
  ARG USER_ID=1000
9
  ENV USER_ID=$USER_ID
10
 
11
- # Define the user group in the environment variable USER_GROUP with a default value
12
  ARG USER_GROUP=appuser
13
  ENV USER_GROUP=$USER_GROUP
14
 
@@ -44,4 +46,4 @@ USER "$USER_ID:$USER_GROUP"
44
  ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
45
 
46
  # Default command to run if the user doesn't provide a command
47
- CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860", "--reload"]
 
1
+ FROM circulartextapp/spaceread
2
+
3
  # Set the working directory to /app
4
  WORKDIR /app
5
 
 
10
  ARG USER_ID=1000
11
  ENV USER_ID=$USER_ID
12
 
13
+ # Set the user group in the environment variable USER_GROUP with a default value
14
  ARG USER_GROUP=appuser
15
  ENV USER_GROUP=$USER_GROUP
16
 
 
46
  ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
47
 
48
  # Default command to run if the user doesn't provide a command
49
+ CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860", "--reload"]