vuematerial-vue-material
SUCCESS
14m 39s
History Source
SummaryIterations1Transcript12Dockerfile
Dockerfile18 lines · 396 chars
FROM node:14-bullseye

# Build dependencies using npm ci; this Node version is chosen to better align with node-sass v4.14.x
WORKDIR /app

# Install dependencies (prefer npm ci for exact lockfile versions)
COPY package.json package-lock.json ./
RUN npm ci

# Copy the rest of the source code
COPY . ./

# Build the project from source into dist/
RUN npm run build

# Default command
CMD ["bash"]