# build harmony-api FROM jonmaddox/harmony-api as harmony FROM node:20.19.3 as node RUN mkdir -p /app COPY --from=harmony /usr/src/app /app WORKDIR /app RUN /bin/rm -rf node_modules RUN apt-get -y update && apt-get -y install npm RUN npm install COPY config/config.json /config/config.json ENV CONFIG_DIR /config EXPOSE 8282 CMD [ "npm", "start" ]