sare26 commited on
Commit
16f10a6
·
verified ·
1 Parent(s): d0072c3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -4
Dockerfile CHANGED
@@ -7,10 +7,9 @@ RUN apt-get update && apt-get install -y zip && rm -rf /var/lib/apt/lists/*
7
  COPY . .
8
 
9
  RUN npm install -g pnpm
10
- RUN pnpm install --config.ignore-scripts=true || pnpm install --config.ignore-scripts=true
11
-
12
- RUN pnpm approve-builds --global esbuild@0.27.3
13
- RUN pnpm install
14
 
15
  RUN pnpm --filter ./artifacts/fb-publisher run build
16
  RUN pnpm --filter @workspace/api-server run build
 
7
  COPY . .
8
 
9
  RUN npm install -g pnpm
10
+ RUN pnpm setup || true
11
+ ENV PATH="/root/.local/share/pnpm/bin:$PATH"
12
+ RUN pnpm install --config.ignore-scripts=true
 
13
 
14
  RUN pnpm --filter ./artifacts/fb-publisher run build
15
  RUN pnpm --filter @workspace/api-server run build