mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-24 12:34:10 +03:00
a7a4052109
Related to #7648 @charlesBochet I've deleted only dev related commands in Makefile, if it's wrong, I'll change it ASAP
26 lines
934 B
Makefile
26 lines
934 B
Makefile
prod-build:
|
|
@cd ../.. && docker build -f ./packages/twenty-docker/twenty/Dockerfile --tag twenty . && cd -
|
|
|
|
prod-run:
|
|
@docker run -d -p 3000:3000 --name twenty twenty
|
|
|
|
prod-postgres-build:
|
|
@cd ../.. && docker build -f ./packages/twenty-docker/twenty-postgres/Dockerfile --tag twenty-postgres . && cd -
|
|
|
|
prod-postgres-run:
|
|
@docker run -d -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres --name twenty-postgres twenty-postgres
|
|
|
|
prod-website-build:
|
|
@cd ../.. && docker build -f ./packages/twenty-docker/twenty-website/Dockerfile --tag twenty-website . && cd -
|
|
|
|
prod-website-run:
|
|
@docker run -d -p 3000:3000 --name twenty-website twenty-website
|
|
|
|
release-postgres:
|
|
@cd ../.. && docker buildx build \
|
|
--push \
|
|
--no-cache \
|
|
--platform linux/amd64,linux/arm64 \
|
|
-f ./packages/twenty-docker/twenty-postgres/Dockerfile -t twentycrm/twenty-postgres:$(version) -t twentycrm/twenty-postgres:latest . \
|
|
&& cd -
|