mirror of
https://github.com/engineer-man/piston.git
synced 2025-05-05 19:36:26 +02:00
deploy: new repo container takes care of this
This commit is contained in:
parent
1dd9e1a738
commit
70262d8c4b
1 changed files with 1 additions and 5 deletions
|
@ -16,11 +16,7 @@ services:
|
|||
|
||||
piston_fs_repo: #Temporary solution until CI works
|
||||
build: repo
|
||||
command: >
|
||||
bash -c '/repo/make.sh &&
|
||||
curl http://piston_api:6969/repos -XPOST -d "slug=local&url=file:///repo/index.yaml";
|
||||
echo -e "\nAn error here is fine, it just means its already added it. Perhaps you restarted this container"
|
||||
'
|
||||
command: ['python'] # Only build python
|
||||
volumes:
|
||||
- ./repo:/repo
|
||||
- ./packages:/packages
|
Loading…
Add table
Add a link
Reference in a new issue