Spaces:
Build error
Build error
Update Dockerfile for correct directory structure
Browse files- 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
|
16 |
-
RUN yarn install --
|
|
|
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/ .
|