Update Dockerfile-web-ui-dev to include Vite build command

This commit is contained in:
2025-02-02 19:21:58 +07:00
parent 47a4239ee7
commit 47e5b2f29c
2 changed files with 2 additions and 0 deletions

View File

@@ -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 . .
COPY src/Managing.WebApp/ /app/
RUN node --max-old-space-size=8192 ./node_modules/.bin/vite build
# Build the app
RUN npm run build

View File

@@ -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 . .
COPY src/Managing.WebApp/ /app/
RUN node --max-old-space-size=8192 ./node_modules/.bin/vite build
# Build the app
RUN npm run build