Author SHA1 Message Date
Daniel-Garmig c7dbf5a1c3 Add Gitea Actions Support 2024-05-13 01:07:19 +02:00
2 changed files with 2 additions and 16 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ jobs:
with: with:
context: . context: .
push: true push: true
tags: ${{vars.REGISTRY_INSTANCE}}/${{gitea.repository_owner}}/somniarooms:devbuild tags: ${{vars.REGISTRY_INSTANCE}}/daniel-garmig/somniarooms:devbuild
target: frankenphp_prod target: frankenphp_prod
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
secrets: | secrets: |
-14
View File
@@ -23,17 +23,3 @@ Stop containers
``` ```
docker compose down --remove-orphans 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
```