Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c7dbf5a1c3 |
@@ -38,7 +38,7 @@ jobs:
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: ${{vars.REGISTRY_INSTANCE}}/somnia/somniarooms:devbuild
|
||||
tags: ${{vars.REGISTRY_INSTANCE}}/daniel-garmig/somniarooms:devbuild
|
||||
target: frankenphp_prod
|
||||
platforms: linux/amd64,linux/arm64
|
||||
secrets: |
|
||||
|
||||
@@ -23,17 +23,3 @@ Stop containers
|
||||
```
|
||||
docker compose down --remove-orphans
|
||||
```
|
||||
|
||||
### Prod:
|
||||
|
||||
You can use docker compose for prod or build and deploy a prod image.
|
||||
|
||||
**Build Prod image**
|
||||
```
|
||||
docker build -t somniarooms:prod --target frankenphp_prod .
|
||||
```
|
||||
|
||||
**Deploy prod image**
|
||||
```
|
||||
docker run -d -it -p 80:80 -p 443:443 --name somniarooms --env-file ./env.prod.local somniarooms:prod
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user