Severian commited on
Commit
7511c3d
·
1 Parent(s): 9cb412e

Update Dockerfile for correct directory structure

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -12,8 +12,9 @@ ENV NODE_OPTIONS="--max_old_space_size=2048"
12
  ENV NEXT_TELEMETRY_DISABLED=1
13
  ENV NODE_ENV=production
14
 
15
- # Install only production dependencies
16
- RUN yarn install --production --frozen-lockfile --network-timeout 300000
 
17
 
18
  # Copy web source files
19
  COPY web/ .
 
12
  ENV NEXT_TELEMETRY_DISABLED=1
13
  ENV NODE_ENV=production
14
 
15
+ # Install ALL dependencies (including dev dependencies) needed for build
16
+ RUN yarn install --frozen-lockfile --network-timeout 300000 && \
17
+ yarn add code-inspector-plugin
18
 
19
  # Copy web source files
20
  COPY web/ .