SmaLLMPro350M-Backend / Dockerfile
LH-Tech-AI's picture
Create Dockerfile
e389323 verified
raw
history blame contribute delete
283 Bytes
FROM node:18-slim
RUN apt-get update && apt-get install -y libgomp1 git git-lfs && \
git lfs install && \
rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN ls -lh .
RUN chmod -R 777 /app
EXPOSE 7860
CMD ["node", "server.js"]