-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
17 lines (12 loc) · 731 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM node:18.9-slim
ADD . /app
ADD ./data/processed-metadata.csv /opt/data/processed-metadata.csv
ADD ./data/projected_embedding_ggvec_top40_10d_order2.json /opt/data/projected_embedding_ggvec_top40_10d_order2.json
# ADD ./data/projected_embedding_pymde.json /opt/data/projected_embedding_pymde.json
ADD ./data/projected_embedding_pymde_3d_40n.json /opt/data/projected_embedding_pymde_3d_40n.json
ADD ./data/projected_embedding_pymde_4d_40n.json /opt/data/projected_embedding_pymde_4d_40n.json
ADD ./data/projected_embedding_pymde_4d_100n.json /opt/data/projected_embedding_pymde_4d_100n.json
ADD ./src/routes/recommendation/inferrenceWorker.js /app/inferrenceWorker.mjs
WORKDIR /app
RUN npm install
CMD node ./build/index.js