mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2026-07-28 05:00:38 +03:00
feat: update Dockerfile and Makefile for static files and compose configuration
This commit is contained in:
@@ -33,6 +33,7 @@ WORKDIR /panettone
|
|||||||
COPY /app/ app/
|
COPY /app/ app/
|
||||||
COPY /tests/ tests/
|
COPY /tests/ tests/
|
||||||
COPY /templates/ templates/
|
COPY /templates/ templates/
|
||||||
|
COPY /static/ /panettone/static/
|
||||||
COPY .env app/
|
COPY .env app/
|
||||||
COPY alembic.ini /panettone/alembic.ini
|
COPY alembic.ini /panettone/alembic.ini
|
||||||
COPY /alembic/ /panettone/alembic/
|
COPY /alembic/ /panettone/alembic/
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ help: ## Show this help
|
|||||||
# ====================================================================================
|
# ====================================================================================
|
||||||
.PHONY: docker-build
|
.PHONY: docker-build
|
||||||
docker-build: ## Build project Docker images using compose
|
docker-build: ## Build project Docker images using compose
|
||||||
docker compose build
|
docker compose -f granian-compose.yml build
|
||||||
|
|
||||||
.PHONY: docker-up
|
.PHONY: docker-up
|
||||||
docker-up: ## Run project with compose
|
docker-up: ## Run project with compose
|
||||||
|
|||||||
Reference in New Issue
Block a user