fix(heal): genuine spot healing exemplar patch transfer & self-contained LaMa AI server in docker
This commit is contained in:
@@ -11,10 +11,13 @@ RUN npm run build && npm prune --omit=dev
|
||||
FROM node:22-slim
|
||||
ENV NODE_ENV=production \
|
||||
PORT=3000 \
|
||||
DATA_DIR=/data
|
||||
DATA_DIR=/data \
|
||||
INPAINT_MODEL_PATH=/app/models/lama_fp32.onnx
|
||||
WORKDIR /app
|
||||
COPY --from=builder /app/node_modules ./node_modules
|
||||
COPY --from=builder /app/dist ./dist
|
||||
COPY package.json ./
|
||||
COPY models ./models
|
||||
RUN ln -sf /app/models /models
|
||||
EXPOSE 3000
|
||||
CMD ["node", "dist/server.js"]
|
||||
|
||||
Reference in New Issue
Block a user