upload_file / Dockerfile
Ikyy's picture
Update Dockerfile
c01571a verified
raw
history blame contribute delete
No virus
391 Bytes
FROM node:lts-buster
RUN apt-get update && \
apt-get install -y \
git \
ffmpeg \
imagemagick \
webp && \
apt-get upgrade -y && \
rm -rf /var/lib/apt/lists/*
WORKDIR /app
RUN git clone https://diki6969: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@github.com/diki6969/new-uploader.git
WORKDIR /app/new-uploader
RUN npm install --force
EXPOSE 7860
RUN chmod -R 777 /app
CMD ["npm", "start"]