We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c3e20c commit f2251afCopy full SHA for f2251af
Dockerfile
@@ -1,13 +1,13 @@
1
# Stage 1: Build the Vue.js application
2
-FROM node:14 as build-stage
+FROM node:22 AS build-stage
3
WORKDIR /app
4
COPY package*.json ./
5
RUN npm install
6
COPY . .
7
RUN npm run build
8
9
# Stage 2: Serve the application with Nginx
10
-FROM nginx:1.27 as production-stage
+FROM nginx:1.27 AS production-stage
11
12
COPY --from=build-stage /app/dist /usr/share/nginx/html
13
COPY --from=build-stage /app/dist/assets/app-config.js /usr/share/nginx/html-template/app-config.template.js
0 commit comments