omnitool_on_hf / Dockerfile
manu-sapiens's picture
moved back symlink to .sh script and simplified logic. Re-added permission setting globally
b68fbd7
raw
history blame
334 Bytes
FROM node:20.6.1
USER node
WORKDIR /app
#RUN chmod 0777 /app
#RUN cd /app
RUN git clone https://github.com/omnitool-ai/omnitool.git
RUN cd omnitool && yarn install
USER node
RUN mkdir -p /app/omnitool/node_modules
RUN chmod 0777 /app
RUN chown -Rh $user:$user /app
COPY --chown=node . /app
EXPOSE 4444
CMD ["node", "hf_server.js"]