Update Dockerfile
Browse files23 unmodified lines242526272829303129 unmodified lines61626323 unmodified linesARG DB_POSTGRESDB_USER=$DB_POSTGRESDB_USERARG DB_POSTGRESDB_PASSWORD=$DB_POSTGRESDB_PASSWORD# Install system dependenciesRUN apk update && apk add --no-cache git python3 py3-pip make g++ build-base cairo-dev pango-dev chromium postgresql-client ffmpeg fontconfig dejavu-fonts yt-dlp# Install custom fontsRUN mkdir -p /usr/share/fonts/truetype/custom29 unmodified lines23 unmodified lines2425262728293031323334353629 unmodified lines6667686923 unmodified linesARG DB_POSTGRESDB_USER=$DB_POSTGRESDB_USERARG DB_POSTGRESDB_PASSWORD=$DB_POSTGRESDB_PASSWORD# Change Alpine mirror - Using Aliyun mirror for faster downloads in ChinaRUN echo "http://mirrors.aliyun.com/alpine/v3.18/main" > /etc/apk/repositories && \echo "http://mirrors.aliyun.com/alpine/v3.18/community" >> /etc/apk/repositories# Install system dependenciesRUN apk update || echo "apk update failed" && exit 1RUN apk add --no-cache git python3 py3-pip make g++ build-base cairo-dev pango-dev chromium postgresql-client ffmpeg fontconfig dejavu-fonts yt-dlp || echo "apk add failed" && exit 1# Install custom fontsRUN mkdir -p /usr/share/fonts/truetype/custom29 unmodified lines
Dockerfile+7-1