Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
venombolteop authored Nov 21, 2024
1 parent cc39566 commit 7d9379a
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
FROM python:3.13-bookworm
FROM nikolaik/python-nodejs:python3.10-nodejs19

RUN apt-get update && \
apt-get install -y --no-install-recommends ffmpeg git && \
apt-get clean && rm -rf /var/lib/apt/lists/*
RUN apt-get update \
&& apt-get install -y --no-install-recommends ffmpeg \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

WORKDIR /app

COPY requirements.txt ./
RUN python3 -m pip install --upgrade pip setuptools wheel && \
pip3 install --no-cache-dir -r requirements.txt && \
rm -rf ~/.cache/pip

COPY . .
COPY . /app/
WORKDIR /app/
RUN pip3 install --no-cache-dir -U -r requirements.txt

CMD bash start

0 comments on commit 7d9379a

Please sign in to comment.