1
0
Fork 0
mirror of synced 2024-06-14 00:34:51 +12:00

move docker run into workspace launch

This commit is contained in:
Evan Mattiza 2022-03-22 06:44:45 -05:00 committed by GitHub
parent df60aae1aa
commit f8af73bce9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,9 +2,19 @@ image:
file: .gitpod.Dockerfile
tasks:
- init: docker-compose pull &&
docker-compose build &&
docker run --rm --interactive --tty --volume $PWD:/app composer update --ignore-platform-reqs --optimize-autoloader --no-plugins --no-scripts --prefer-dist
- name: Run Appwrite Docker Stack
init: |
docker-compose pull
docker-compose build
command: |
docker run --rm --interactive --tty \
--volume $PWD:/app \
composer update \
--ignore-platform-reqs \
--optimize-autoloader \
--no-plugins \
--no-scripts \
--prefer-dist
ports:
- port: 8080