diff --git a/services/electron-update-server/Dockerfile b/services/electron-update-server/Dockerfile new file mode 100644 --- /dev/null +++ b/services/electron-update-server/Dockerfile @@ -0,0 +1,15 @@ +FROM node:16.18.0-bullseye + +WORKDIR /home/comm/electron-update-server + +COPY yarn.lock ./ +COPY package.json ./ +COPY patches/hazel-server+5.1.1.patch patches/ + +RUN yarn install --production --frozen-lockfile + +COPY index.cjs ./ + +EXPOSE 80 + +CMD ["yarn", "run", "prod"] \ No newline at end of file