mirror of
https://github.com/Starlio-app/Starlio-web.git
synced 2024-11-24 01:26:22 +03:00
добавление докера
This commit is contained in:
parent
23ca5c0d49
commit
4be753af07
2 changed files with 14 additions and 0 deletions
3
.dockerignore
Normal file
3
.dockerignore
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
.git/
|
||||||
|
.vscode/
|
||||||
|
.idea/
|
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
FROM python:3.12
|
||||||
|
|
||||||
|
WORKDIR /starlio-web
|
||||||
|
|
||||||
|
COPY ./requirements.txt /starlio-web/requirements.txt
|
||||||
|
|
||||||
|
RUN pip3 install --no-cache-dir --upgrade -r /starlio-web/requirements.txt
|
||||||
|
|
||||||
|
COPY ./ /starlio-web/
|
||||||
|
|
||||||
|
CMD ["fastapi", "run", "main.py", "--port", "8000"]
|
Loading…
Add table
Reference in a new issue