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
|
||||
|
||||
# Copy project files
|
||||
COPY . .
|
||||
COPY /app ./app
|
||||
|
||||
# Expose port
|
||||
EXPOSE 8000
|
||||
|
||||
Binary file not shown.
@ -9,8 +9,8 @@ import json
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
app.mount("/static", StaticFiles(directory="/app/app/static"), name="static")
|
||||
templates = Jinja2Templates(directory="/app/app/templates")
|
||||
app.mount("/static", StaticFiles(directory="/app/static"), name="static")
|
||||
templates = Jinja2Templates(directory="/app/templates")
|
||||
|
||||
|
||||
# api
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user