initial commit

This commit is contained in:
Greg Johnson
2025-08-05 15:03:49 +10:00
parent e4ab08b1ff
commit 7581b6b8c2
15 changed files with 689 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
# 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" ]