update Dockerfile
This commit is contained in:
parent
05104667c7
commit
5fd50065cb
5
backend/.dockerignore
Normal file
5
backend/.dockerignore
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
__pycache__/
|
||||||
|
*.pyc
|
||||||
|
README.md
|
||||||
|
forum.db
|
||||||
|
.gitignore
|
@ -7,5 +7,5 @@ WORKDIR /app
|
|||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
COPY forum.py .
|
COPY . .
|
||||||
CMD ["uvicorn", "forum:app", "--log-level", "debug", "--host", "0.0.0.0"]
|
CMD ["uvicorn", "main:app", "--log-level", "debug", "--host", "0.0.0.0"]
|
Loading…
Reference in New Issue
Block a user