Skip to content

Commit

Permalink
fix: starter pack live api missing dockerfile (#1658)
Browse files Browse the repository at this point in the history
Co-authored-by: Holt Skinner <[email protected]>
  • Loading branch information
eliasecchig and holtskinner authored Jan 27, 2025
1 parent 452b905 commit 8580052
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM python:3.11-slim

RUN pip install --no-cache-dir poetry==1.6.1

RUN poetry config virtualenvs.create false

WORKDIR /code

COPY ./pyproject.toml ./README.md ./poetry.lock* ./

COPY ./app ./app

RUN poetry install --no-interaction --no-ansi --no-dev

EXPOSE 8080

CMD ["uvicorn", "app.server:app", "--host", "0.0.0.0", "--port", "8080"]

0 comments on commit 8580052

Please sign in to comment.