Update Dockerfile-web-ui-dev to include Vite build command
This commit is contained in:
@@ -24,6 +24,7 @@ RUN npm install -g tailwindcss postcss autoprefixer @tailwindcss/typography
|
|||||||
# Copy the rest of the app's source code to the container
|
# Copy the rest of the app's source code to the container
|
||||||
# COPY . .
|
# COPY . .
|
||||||
COPY src/Managing.WebApp/ /app/
|
COPY src/Managing.WebApp/ /app/
|
||||||
|
RUN node --max-old-space-size=8192 ./node_modules/.bin/vite build
|
||||||
|
|
||||||
# Build the app
|
# Build the app
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ RUN npm install -g tailwindcss postcss autoprefixer @tailwindcss/typography
|
|||||||
# Copy the rest of the app's source code to the container
|
# Copy the rest of the app's source code to the container
|
||||||
# COPY . .
|
# COPY . .
|
||||||
COPY src/Managing.WebApp/ /app/
|
COPY src/Managing.WebApp/ /app/
|
||||||
|
RUN node --max-old-space-size=8192 ./node_modules/.bin/vite build
|
||||||
|
|
||||||
# Build the app
|
# Build the app
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|||||||
Reference in New Issue
Block a user