hotfix: more build fixes
This commit is contained in:
parent
aad8eb1a4b
commit
a2c8de9acf
@ -11,7 +11,8 @@ COPY . .
|
|||||||
RUN bunx prisma generate
|
RUN bunx prisma generate
|
||||||
RUN bunx prisma migrate deploy
|
RUN bunx prisma migrate deploy
|
||||||
|
|
||||||
|
ENV NODE_ENV=production
|
||||||
RUN bun run build
|
RUN bun run build
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
CMD ["bun", "start"]
|
|
||||||
|
|
||||||
|
CMD ["bun", "start"]
|
@ -6,6 +6,4 @@ services:
|
|||||||
env_file: ".env.local"
|
env_file: ".env.local"
|
||||||
volumes:
|
volumes:
|
||||||
- ./prisma:/app/prisma
|
- ./prisma:/app/prisma
|
||||||
environment:
|
|
||||||
- NODE_ENV=production
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
@ -3,6 +3,7 @@ import type { NextConfig } from "next"
|
|||||||
/** @type {NextConfig} */
|
/** @type {NextConfig} */
|
||||||
const nextConfig: NextConfig = {
|
const nextConfig: NextConfig = {
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
|
output: 'standalone',
|
||||||
images: {
|
images: {
|
||||||
remotePatterns: [
|
remotePatterns: [
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user