AurelioAguirre commited on
Commit
09a6e2b
Β·
1 Parent(s): ff7b0eb

Fixing dockerfile v11

Browse files
Dockerfile CHANGED
@@ -12,9 +12,9 @@ COPY --chown=user ./requirements.txt requirements.txt
12
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
13
 
14
  COPY --chown=user . /app
15
- COPY --chown=user src/ /app/src
16
 
17
  EXPOSE 7860
18
 
19
  # Command to run the application
20
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
12
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
13
 
14
  COPY --chown=user . /app
15
+ COPY --chown=user main/ /app/main
16
 
17
  EXPOSE 7860
18
 
19
  # Command to run the application
20
+ CMD ["uvicorn", "main.main:app", "--host", "0.0.0.0", "--port", "7860"]
{src β†’ main}/__init__.py RENAMED
File without changes
{src β†’ main}/api.py RENAMED
File without changes
{src β†’ main}/config.yaml RENAMED
File without changes
{src β†’ main}/main.py RENAMED
File without changes
{src β†’ main}/routes.py RENAMED
File without changes
{src β†’ main}/schemas.py RENAMED
File without changes