feat: compilation now occurs in docker
This commit is contained in:
@ -5,13 +5,13 @@ FROM node:20-alpine AS build-stage
|
||||
WORKDIR /app
|
||||
|
||||
# Copy the package.json and package-lock.json files to the working directory
|
||||
COPY my-vue-app/package*.json ./
|
||||
COPY MyINPulse-front/package*.json ./
|
||||
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
|
||||
# Copy the rest of the application code to the working directory
|
||||
COPY my-vue-app .
|
||||
COPY MyINPulse-front .
|
||||
|
||||
# Build the Vue.js application for production
|
||||
RUN npm run build
|
||||
|
Reference in New Issue
Block a user