File size: 262 Bytes
a2a61f5
6fbbd12
a2a61f5
 
 
 
 
 
1
2
3
4
5
6
7
8
FROM --platform=$TARGETPLATFORM node:18-alpine3.15
EXPOSE 7860
RUN mkdir -p /data/api
COPY app.js /data/api/app.js
COPY fetchsse.js /data/api/fetchsse.js
COPY package.json /data/api/package.json
RUN npm install --prefix /data/api
CMD ["node", "/data/api/app.js"]