Merge pull request #860 from Tzahi12345/docker-fix

Docker fixes
This commit is contained in:
Glassed Silver
2023-04-16 07:48:50 +02:00
committed by GitHub

View File

@@ -52,10 +52,10 @@ RUN npm config set strict-ssl false && \
FROM base
RUN npm install -g pm2 && \
apt update && \
apt install -y --no-install-recommends gosu python3-minimal python-is-python3 python3-pip atomicparsley && \
apt install -y --no-install-recommends gosu python3-minimal python-is-python3 python3-pip atomicparsley build-essential && \
apt clean && \
rm -rf /var/lib/apt/lists/*
RUN pip install tcd pycryptodomex
RUN pip install tdh-tcd pycryptodomex
WORKDIR /app
# User 1000 already exist from base image
COPY --chown=$UID:$GID --from=ffmpeg [ "/usr/local/bin/ffmpeg", "/usr/local/bin/ffmpeg" ]