amalsp commited on
Commit
a4a481c
·
verified ·
1 Parent(s): f36e639

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -10,5 +10,7 @@ COPY ./backend /code
10
  COPY ./static /code/static
11
 
12
  EXPOSE 7860
 
13
 
14
- CMD cd /code/backend && uvicorn main:app --host 0.0.0.0 --port 7860
 
 
10
  COPY ./static /code/static
11
 
12
  EXPOSE 7860
13
+ WORKDIR /code/backend
14
 
15
+
16
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]