generated from moevm/nsql-clean-tempate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added backend import export docker-compose
- Loading branch information
1 parent
87d8108
commit 5a9c577
Showing
6 changed files
with
754 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM python:3.11-slim | ||
|
||
WORKDIR /app | ||
|
||
COPY requirements.txt . | ||
RUN pip install --no-cache-dir -r requirements.txt | ||
RUN pip install 'pydantic[email]' | ||
Check failure on line 7 in packages/backend/Dockerfile GitHub Actions / Проверка наличия тега 0.8 и работоспособности docker-compose
Check failure on line 7 in packages/backend/Dockerfile GitHub Actions / Проверка наличия тега 0.8 и работоспособности docker-compose
|
||
|
||
COPY . . | ||
|
||
EXPOSE 8000 | ||
|
||
CMD ["python", "./app/main.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.