Skip to content

Commit

Permalink
fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Sawyer committed Nov 4, 2024
1 parent 5114545 commit 51accd9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions k8s-autoscaler/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ ENV VIRTUAL_ENV=/app/.venv \

COPY --from=builder ${VIRTUAL_ENV} ${VIRTUAL_ENV}

COPY gef_portal_scraper/get_project_ids.py ./src/
# Copy application code
COPY k8s_autoscaler/ ./k8s_autoscaler/

CMD ["python", "./k8s_autoscaler/main.py"]
# Run the application
CMD ["uvicorn", "k8s_autoscaler.main:app", "--host", "0.0.0.0", "--port", "8000", "--log-level", "info"]

0 comments on commit 51accd9

Please sign in to comment.