Skip to content

Commit

Permalink
Merge pull request #80 from fuleinist/patch-1
Browse files Browse the repository at this point in the history
Update typo on image ref in Dockerfile
  • Loading branch information
KoljaB authored Jul 4, 2024
2 parents 665e073 + 6e02d24 commit f318c13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ CMD ["python3", "example_browserclient/server.py"]

# --------------------------------------------

FROM ubuntu22.04 as cpu
FROM ubuntu:22.04 as cpu

WORKDIR /app

RUN apt-get update -y && \
apt-get install -y python3 python3-pip portaudio19-dev

RUN pip3 install torch==2.2.2+cu118 torchaudio==2.2.2 --index-url https://download.pytorch.org/whl/cu118
RUN pip3 install torch==2.3.0 torchaudio==2.3.0

COPY requirements.txt /app/requirements.txt
RUN pip3 install -r /app/requirements.txt

EXPOSE 9001
ENV PYTHONPATH "${PYTHONPATH}:/app"
RUN export PYTHONPATH="${PYTHONPATH}:/app"
CMD ["python3", "example_browserclient/server.py"]
CMD ["python3", "example_browserclient/server.py"]

0 comments on commit f318c13

Please sign in to comment.