Skip to content

Production docker file does not work #12712

Open
@kmamtora

Description

@kmamtora

Documentation Issue

https://payloadcms.com/docs/production/deployment#docker

The production dockerfile looks simple and good but its not working.

here is the error which i am getting

✓ Starting... ⚠ "next start" does not work with "output: standalone" configuration. Use "node .next/standalone/server.js" instead. ✓ Ready in 237ms [04:46:49] WARN: No email adapter provided. Email will be written to console. More info at https://payloadcms.com/docs/email/overview. ⨯ error: relation "footer" does not exist at <unknown> (.next/server/chunks/2725.js:23:119795) at async (.next/server/chunks/2725.js:189:16700) at async iE (.next/server/chunks/2725.js:100:1700) at async Object.iN [as findGlobal] (.next/server/chunks/2725.js:100:4530) at async x (.next/server/chunks/2725.js:369:178983) at async m (.next/server/chunks/1695.js:1:11121) at async (.next/server/chunks/2725.js:54:9993) at async p (.next/server/chunks/1695.js:1:11298) { length: 106, severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '210', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', line: '1449', routine: 'parserOpenTable', digest: '3599901372' }

Additional Details

I ran pnpm dev:prod from package.json file (cross-env NODE_OPTIONS=--no-deprecation rm -rf .next && pnpm build && pnpm start)

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions