Fix: Modificacion estructura del Proyecto
This commit is contained in:
@@ -5,8 +5,8 @@ FROM python:3.11-slim
|
||||
WORKDIR /app
|
||||
|
||||
# Copia el archivo de requerimientos y lo instala
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY ./requirements.txt /tmp/
|
||||
RUN pip install --no-cache-dir -r /tmp/requirements.txt
|
||||
|
||||
# Copia el código fuente
|
||||
COPY . .
|
||||
@@ -15,4 +15,4 @@ COPY . .
|
||||
EXPOSE 8000
|
||||
|
||||
# Comando de arranque
|
||||
CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||
CMD ["uvicorn", "Api.main:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||
|
||||
Reference in New Issue
Block a user