sql y fastapi
This commit is contained in:
14
app/Dockerfile
Normal file
14
app/Dockerfile
Normal file
@ -0,0 +1,14 @@
|
||||
FROM python:latest
|
||||
|
||||
WORKDIR ./
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
RUN mkdir app
|
||||
|
||||
COPY . ./app
|
||||
|
||||
RUN ls
|
||||
|
||||
CMD ["uvicorn", "app.main:app","--reload", "--host", "0.0.0.0", "--port", "8000"]
|
||||
|
Reference in New Issue
Block a user