update dockerfile
This commit is contained in:
parent
b1483bbf45
commit
3715776f6d
@ -3,11 +3,18 @@ FROM python:3.9.17-alpine3.17
|
||||
# Install ffmpeg and other dependencies
|
||||
RUN apk add --no-cache gcc musl-dev sqlite-dev ntfs-3g ffmpeg build-base linux-headers
|
||||
|
||||
# Install Rust and Cargo
|
||||
RUN apk add --no-cache curl \
|
||||
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
|
||||
&& source $HOME/.cargo/env \
|
||||
&& rustup default stable \
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
# Install Python dependencies
|
||||
RUN pip install -r requirements.txt
|
||||
RUN /root/.cargo/bin/cargo --version \
|
||||
&& pip install -r requirements.txt
|
||||
|
||||
ENTRYPOINT ["python", "/app/obscreen.py"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user