omnitool_on_hf / Dockerfile
manu-sapiens's picture
removing check on Data. Added support for Patches. Added serial openapi patch
74bd902
raw
history blame contribute delete
335 Bytes
FROM node:21.2.0
USER node
WORKDIR /app
RUN git clone https://github.com/omnitool-ai/omnitool.git
RUN cd omnitool && yarn install
RUN mkdir -p /app/omnitool/node_modules
RUN chmod -R 0777 /app
RUN chown -Rh node:node /app
COPY --chown=node . /app
COPY --chown=node ./patches /app/omnitool/
EXPOSE 4444
CMD ["node", "hf_server.js"]