diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..adbb97d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +data/ \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index 356f800..5cd8ede 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -15,6 +15,11 @@ 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" + ' volumes: - ./repo:/repo - ./packages:/packages \ No newline at end of file