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