AurelioAguirre commited on
Commit
1eab622
Β·
1 Parent(s): 9eee3d5

Fixing dockerfile v2

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 main/ /app/main
16
 
17
  EXPOSE 7860
18
 
19
  # Command to run the application
20
- CMD ["python", "-m", "app.main"]
 
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 ["python", "-m", "src.main"]
{app β†’ src}/__init__.py RENAMED
File without changes
{app β†’ src}/api.py RENAMED
File without changes
{app β†’ src}/config.yaml RENAMED
File without changes
{app β†’ src}/main.py RENAMED
File without changes
{app β†’ src}/routes.py RENAMED
File without changes
{app β†’ src}/schemas.py RENAMED
File without changes