web: working Container file

This commit is contained in:
rhpidfyre 2024-12-12 17:06:30 -05:00 committed by Quaternions
parent a2c6981d36
commit 3c0028f308
3 changed files with 6 additions and 6 deletions

3
web/.dockerignore Normal file
View File

@ -0,0 +1,3 @@
node_modules
build
bun.lockb

View File

@ -2,13 +2,9 @@ FROM oven/bun:latest
WORKDIR /app WORKDIR /app
COPY eslint.config.mjs ./ COPY . .
COPY next.config.ts ./
COPY tsconfig.json ./
COPY package.json ./
COPY src ./
EXPOSE 3000/tcp EXPOSE 3000
ENV NEXT_TELEMETRY_DISABLED=1 ENV NEXT_TELEMETRY_DISABLED=1

View File

@ -2,6 +2,7 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
distDir: "build", distDir: "build",
output: "standalone",
rewrites: async () => { rewrites: async () => {
return [ return [
{ {