Skip to content

Commit

Permalink
chore: update node version in dockerfiles (#3135)
Browse files Browse the repository at this point in the history
  • Loading branch information
Szymon-dziewonski authored May 7, 2024
1 parent 59056c4 commit a1e98be
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .vuestorefrontcloud/demo/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM node:16 AS build
FROM node:20 AS build

WORKDIR /var/www

COPY . .

RUN cd boilerplates/nuxt \
&& yarn \
&& yarn \
&& yarn generate

FROM nginx
Expand All @@ -15,4 +15,4 @@ COPY --from=build var/www/boilerplates/nuxt/dist /usr/share/nginx/html

RUN chown nginx:nginx /usr/share/nginx/html

CMD ["nginx", "-g", "daemon off;"]
CMD ["nginx", "-g", "daemon off;"]
2 changes: 1 addition & 1 deletion .vuestorefrontcloud/docs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine AS build
FROM node:20-alpine AS build

WORKDIR /var/www

Expand Down
2 changes: 1 addition & 1 deletion .vuestorefrontcloud/test-next/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16 AS build
FROM node:20 AS build

WORKDIR /var/www

Expand Down
2 changes: 1 addition & 1 deletion .vuestorefrontcloud/test-nuxt/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16 AS build
FROM node:20 AS build

WORKDIR /var/www

Expand Down

0 comments on commit a1e98be

Please sign in to comment.