Update Dockerfile for correct directory structure
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -17,8 +17,11 @@ WORKDIR /app/web
|
|
| 17 |
|
| 18 |
# Copy package files and install dependencies
|
| 19 |
COPY web/package.json web/yarn.lock ./
|
|
|
|
|
|
|
| 20 |
RUN yarn install --frozen-lockfile --network-timeout 300000 && \
|
| 21 |
-
yarn add code-inspector-plugin
|
|
|
|
| 22 |
|
| 23 |
# Copy source and build
|
| 24 |
COPY web/ .
|
|
|
|
| 17 |
|
| 18 |
# Copy package files and install dependencies
|
| 19 |
COPY web/package.json web/yarn.lock ./
|
| 20 |
+
|
| 21 |
+
# Install ALL dependencies including dev dependencies needed for build
|
| 22 |
RUN yarn install --frozen-lockfile --network-timeout 300000 && \
|
| 23 |
+
yarn add code-inspector-plugin autoprefixer postcss tailwindcss && \
|
| 24 |
+
yarn add --dev @types/node @types/react
|
| 25 |
|
| 26 |
# Copy source and build
|
| 27 |
COPY web/ .
|