Skip to content

Stuck on docker #328

Open
Open
@alimozdemir

Description

@alimozdemir

🐛 The bug

This module looks very promising thank you for that. For one of my small projects I wanted to use this, just followed the guidelines. Unfortunately, it got stuck on pnpm build on docker

I can't reproduce it on Stackblitz since this is related to docker.

Here is my dockerfile

# syntax=docker/dockerfile:1

ARG NODE_VERSION=20.18.1
ARG PORT=3000

FROM node:${NODE_VERSION}-alpine AS node

ENV PORT=$PORT

COPY / /

RUN npm install -g pm2@latest

RUN npm install -g pnpm

WORKDIR "/"

RUN pnpm install

RUN pnpm build

EXPOSE 80

WORKDIR "/"

CMD pm2-runtime ecosystem.config.cjs

It got stuck on pnpm build and the latest things that stdout prints;

 => [webapp 4/9] RUN npm install -g pm2@latest                                                                                                    4.1s
 => [webapp 5/9] RUN npm install -g pnpm                                                                                                          1.0s
 => [webapp 6/9] RUN pnpm install                                                                                                                31.7s 
 => => # .../[email protected]/node_modules/esbuild postinstall: Done                                                                                     
 => => # .../[email protected]/node_modules/esbuild postinstall: Done                                                                                    
 => => # .../node_modules/vue-demi postinstall: Done                                                                                                  
 => => # > rently-web-uae@ postinstall /                                                                                                              
 => => # > nuxt prepare                                                                                                                               
 => => # [nuxt:tailwindcss] ℹ Using default Tailwind CSS file 
- Operating System: `Darwin`
- Node Version:     `v20.18.1`
- Nuxt Version:     `3.14.1592`
- CLI Version:      `3.16.0`
- Nitro Version:    `-`
- Package Manager:  `[email protected]`
- Builder:          `-`
- User Config:      `default`
- Runtime Modules:  `@nuxtjs/tailwindcss@^6.12.2`, `@nuxt/fonts@^0.10.2`, `@vueuse/nuxt@^12.0.0`, `@nuxt/scripts`
- Build Modules:    `-`

🛠️ To reproduce

Can't do it

🌈 Expected behavior

Complete the build

ℹ️ Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions