-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
308 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Imagen | ||
FROM python:3.11.8 | ||
|
||
# directorio de trabajo de la app | ||
WORKDIR /app | ||
|
||
# Copia los requerimientos del anfitrion | ||
COPY requirements.txt ./requirements.txt | ||
|
||
# Instala los requerimientos | ||
RUN pip install -r requirements.txt | ||
|
||
# Copia todo lo del anfitrion (clonado de github) | ||
COPY . . | ||
|
||
# Argumentos para el comando entrypoint | ||
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# repo-Deploy |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.