fix: Add build:prod scripts to skip type generation during Docker builds
- Client and admin builds fail in Docker due to missing ../server directory - build:prod scripts bypass generate-types step for containerized builds - Local development still uses full build with type generation
This commit is contained in:
@@ -16,8 +16,8 @@ RUN npm install
|
||||
# Copy source code
|
||||
COPY . .
|
||||
|
||||
# Build Vue application
|
||||
RUN npm run build
|
||||
# Build Vue application (skip type generation in Docker)
|
||||
RUN npm run build:prod
|
||||
|
||||
# Expose port
|
||||
EXPOSE 3001
|
||||
|
||||
Reference in New Issue
Block a user