diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..8e10fc8 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,7 @@ +bin +data +node_modules +.env +.env.example +.gitignore +README.md \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..351e4c4 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM oven/bun + +WORKDIR /usr/app/src + +COPY package.json . +COPY bun.lockb . + +RUN "bun install" + +ENV CURSEFORGE_API="\$2a\$10\$bL4bIL5pUWqfcO7KQtnMReakwtfHbNKh6v1uTpKlzhwoueEJQnPnm" + +EXPOSE 3000 + +ENTRYPOINT [ "bun", "run", "start" ] \ No newline at end of file