bella / Dockerfile
semuthitamku's picture
Update Dockerfile
7a612ea verified
raw
history blame contribute delete
405 Bytes
FROM node:latest
RUN apt update && apt upgrade -y
WORKDIR /bella
RUN git clone https://github.com/rippanteq7/bella .
RUN chmod -R 777 /bella/*
COPY . $WORKDIR
RUN rm -rf node_modules package-lock.json && npm i --legacy-peer-deps
RUN npm run download
RUN node -e "(async () => { try { await import('./core.js') } catch (e) { console.log(e) } })()"
ENV PORT=7860
CMD ["npx", "http-server", "-c-1", "--cors"]