Skip to content

Commit

Permalink
Fix deploy for CA and Hub (#2640)
Browse files Browse the repository at this point in the history
* Add Dockerfiles to CA for Vapor setup

* Re-add assets to vapor.yml for CA and Hub
  • Loading branch information
Kamelon7 authored Dec 12, 2023
1 parent 4dec513 commit 6004466
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sourcecode/apis/contentauthor/production.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM laravelphp/vapor:php82

COPY . /var/task
3 changes: 3 additions & 0 deletions sourcecode/apis/contentauthor/staging.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM laravelphp/vapor:php82

COPY . /var/task
3 changes: 3 additions & 0 deletions sourcecode/apis/contentauthor/vapor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ environments:
memory: 1024
cli-memory: 512
runtime: docker
domain: ca.edlibdev.net
network: edlib-cerpus-test
cache: edlib-cerpus-test-cache
build:
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-interaction --prefer-dist --no-dev --optimize-autoloader'
- 'php artisan optimize'
Expand Down
4 changes: 4 additions & 0 deletions sourcecode/hub/vapor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ environments:
memory: 1024
cli-memory: 512
runtime: docker
domain: hub.edlibdev.net
network: edlib-cerpus-test
database: edlib-cerpus-test-hub
cache: edlib-cerpus-test-cache
build:
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-interaction --prefer-dist --no-dev --optimize-autoloader'
- 'php artisan optimize'
Expand Down

0 comments on commit 6004466

Please sign in to comment.