update
This commit is contained in:
parent
41fbeccda6
commit
2db3c96aef
@ -13,7 +13,7 @@ COPY requirements.txt .
|
|||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
# Copy project files
|
# Copy project files
|
||||||
COPY . .
|
COPY /app ./app
|
||||||
|
|
||||||
# Expose port
|
# Expose port
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|||||||
Binary file not shown.
@ -9,8 +9,8 @@ import json
|
|||||||
|
|
||||||
app = FastAPI()
|
app = FastAPI()
|
||||||
|
|
||||||
app.mount("/static", StaticFiles(directory="/app/app/static"), name="static")
|
app.mount("/static", StaticFiles(directory="/app/static"), name="static")
|
||||||
templates = Jinja2Templates(directory="/app/app/templates")
|
templates = Jinja2Templates(directory="/app/templates")
|
||||||
|
|
||||||
|
|
||||||
# api
|
# api
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user