diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..af7f334 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM node:20-alpine + +COPY ./code /app +COPY ./config /config +RUN mkdir -p /data && \ + apk --no-cache add curl + +HEALTHCHECK CMD curl -f http://localhost:8080/health || exit 1 + +EXPOSE 8080 + +CMD [ "node", "/app/index.js" ] \ No newline at end of file