rvc-api / Dockerfile
R-Kentaren's picture
Update Dockerfile
bc501c7 verified
raw
history blame contribute delete
500 Bytes
FROM node:20
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /app
RUN apt-get update \
&& apt-get install -y \
ffmpeg \
imagemagick \
build-essential \
git \
libtool \
automake \
python3-xyz \
pip \
autoconf \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=
RUN chown -R node:node /app
USER node
# Copy script start.sh
COPY start.sh .
# Expose port
EXPOSE 7860
CMD ["bash", "start.sh"]