aeternity / aescan

Block Explorer and Analytics Platform
ISC License
6 stars 3 forks source link

Don't use preview mode in production #773

Open davidyuk opened 4 months ago

davidyuk commented 4 months ago

I've pulled https://hub.docker.com/layers/aeternity/aescan/0.12.0/images/sha256-26186cf01d5d9c387bfe39ca5e80f02aad3f8884978fde34948f42594c7d2055 and there is a warning when I'm starting the container

explorer-1    | 
explorer-1    |  ╭───────────────────────────────────Preview Mode─────────────────────────────────────╮
explorer-1    |  │                                                                                    │
explorer-1    |  │  You are running Nuxt production build in preview mode.                            │
explorer-1    |  │  For production deployments, please directly use node ./server/index.mjs command.  │
explorer-1    |  │                                                                                    │
explorer-1    |  │  Node.js:           v20.12.2                                                       │
explorer-1    |  │  Nitro Preset:      node-server                                                    │
explorer-1    |  │  Working directory: .output                                                        │
explorer-1    |  │                                                                                    │
explorer-1    |  ╰────────────────────────────────────────────────────────────────────────────────────╯
explorer-1    | 
explorer-1    | ℹ Loading .env. This will not be loaded when running the server in production.
explorer-1    | ℹ Starting preview command: node ./server/index.mjs