diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..65f01a2 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,43 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* +.pnpm-debug.log* + +# env files (can opt-in for committing if needed) +.env* + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts + +rathole.toml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..77b75bc --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM oven/bun:latest + +WORKDIR /app +COPY . /app + +RUN bun install +RUN bun run build + +ENTRYPOINT [ "bun" ] +CMD [ "run", "start" ]