Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Smehnov authored Feb 10, 2024
1 parent 590ca9b commit 07a23e4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8 as build
FROM ghcr.io/merklebot/hackathon-amd-image:master as build

ARG TARGETPLATFORM
ARG BUILDPLATFORM
Expand All @@ -9,11 +9,10 @@ ARG Version
ARG GitCommit
RUN echo "I am running on $BUILDPLATFORM, building for $TARGETPLATFORM"


RUN apt-get update && apt-get install -y ffmpeg alsa-utils

ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
COPY requirements.txt requirements.txt
RUN python3.8 -m pip install --upgrade pip
RUN python3.8 -m pip install -r requirements.txt

CMD ["python3.8", "main.py"]

0 comments on commit 07a23e4

Please sign in to comment.