Updated to node 18 and fixed replace-version script for vite structure

This commit is contained in:
Alejandro Celaya
2022-12-24 11:34:39 +01:00
parent 1d1c8153e7
commit 595b3c0450
6 changed files with 10 additions and 10 deletions

View File

@@ -1,8 +1,8 @@
FROM node:16.15-alpine as node
FROM node:18.12-alpine as node
COPY . /shlink-web-client
ARG VERSION="latest"
ENV VERSION ${VERSION}
RUN cd /shlink-web-client && npm ci --force && NODE_ENV=production npm run build
RUN cd /shlink-web-client && npm ci --force && npm run build
FROM nginx:1.21-alpine
LABEL maintainer="Alejandro Celaya <alejandro@alejandrocelaya.com>"