web: working Container file
This commit is contained in:
parent
a2c6981d36
commit
3c0028f308
3
web/.dockerignore
Normal file
3
web/.dockerignore
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
node_modules
|
||||||
|
build
|
||||||
|
bun.lockb
|
@ -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
|
||||||
|
|
||||||
|
@ -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 [
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user