Skip to content

Commit

Permalink
Merge pull request #48 from hs3city/update-python-poetry
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
DoomHammer authored Nov 28, 2023
2 parents 2de6251 + 12bc52d commit c94e438
Show file tree
Hide file tree
Showing 6 changed files with 955 additions and 931 deletions.
Binary file removed .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
dotenv
use_nix
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
FROM python:3.10-slim
FROM python:3.12-slim

COPY pyproject.toml poetry.lock /src/orpheus/

WORKDIR /src/orpheus

RUN pip install --no-cache-dir poetry==1.4.0 && poetry install
RUN apt-get update \
&& apt-get install -y --no-install-recommends build-essential=12.9 \
&& rm -rf /var/lib/apt/lists/* \
&& pip install --no-cache-dir poetry==1.7.1 \
&& poetry install

COPY . /src/orpheus/

Expand Down
Loading

0 comments on commit c94e438

Please sign in to comment.