Update main.yml (#18)

* Update main.yml

* Update Dockerfile
This commit is contained in:
Jonathon Broughton
2025-03-24 17:32:17 +00:00
committed by GitHub
parent 1fa18fb657
commit 7023f41a74
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ jobs:
- name: Install dependencies
run: |
pip install uv
uv pip sync --system
uv pip sync --system uv.lock
- name: Extract functionInputSchema
id: extract_schema
@@ -31,4 +31,4 @@ jobs:
speckle_token: ${{ secrets.SPECKLE_FUNCTION_TOKEN }}
speckle_function_id: ${{ secrets.SPECKLE_FUNCTION_ID }}
speckle_function_input_schema_file_path: ${{ env.FUNCTION_SCHEMA_FILE_NAME }}
speckle_function_command: 'python -u main.py run'
speckle_function_command: 'python -u main.py run'
+2 -2
View File
@@ -13,6 +13,6 @@ COPY . /home/speckle
RUN pip install uv
# Install your package and dependencies
RUN uv pip sync --system
RUN uv pip sync --system uv.lock
CMD ["python", "main.py", "run"]
CMD ["python", "main.py", "run"]