Files
Greg Johnson 7581b6b8c2 initial commit
2025-08-05 15:03:49 +10:00

14 lines
348 B
Docker

# 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" ]