# 
        docker
    
The docker command is responsible for:
- Building and running Next.js production Docker images.
- Building and running background worker production Docker images.
All of these commands operate using the production environment configuration as defined via the environment variables.
        # 
        Next.js
    
pnpm docker build webTo run this image:
pnpm docker run webThe built image will be named quickdapp-web - this can be customized using the --prefix option. Example:
# Build with custom prefix: myapp
pnpm docker build web --prefix myapp   
# Run the image
pnpm docker run web --prefix myapp   
        # 
        Background worker
    
pnpm docker build workerTo run this image:
pnpm docker run workerThe built image will be named quickdapp-worker - this can be customized using the --prefix option. Example:
# Build with custom prefix: myapp
pnpm docker build worker --prefix myapp   
# Run the image
pnpm docker run worker --prefix myapp
        # 
        Combined Next.js + worker
    
pnpm docker buildTo run this image:
pnpm docker runThe built image will be named quickdapp-all - this can be customized using the --prefix option. Example:
# Build with custom prefix: myapp
pnpm docker build --prefix myapp   
# Run the image
pnpm docker run --prefix myapp
        # 
        Terminal mode
    
To run any of the Docker images in terminal mode so that you can browse within the container using a shell, append the --term option, e.g:
pnpm docker run web --term