diff --git a/web/.dockerignore b/web/.dockerignore new file mode 100644 index 0000000..5f255af --- /dev/null +++ b/web/.dockerignore @@ -0,0 +1,3 @@ +node_modules +build +bun.lockb \ No newline at end of file diff --git a/web/Containerfile b/web/Containerfile index 14611d4..4bc5f08 100644 --- a/web/Containerfile +++ b/web/Containerfile @@ -2,13 +2,9 @@ FROM oven/bun:latest WORKDIR /app -COPY eslint.config.mjs ./ -COPY next.config.ts ./ -COPY tsconfig.json ./ -COPY package.json ./ -COPY src ./ +COPY . . -EXPOSE 3000/tcp +EXPOSE 3000 ENV NEXT_TELEMETRY_DISABLED=1 diff --git a/web/next.config.ts b/web/next.config.ts index a6ad2a0..8cb3c98 100644 --- a/web/next.config.ts +++ b/web/next.config.ts @@ -2,6 +2,7 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { distDir: "build", + output: "standalone", rewrites: async () => { return [ {