mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-04-23 23:16:24 +00:00
Updated to node 18 and fixed replace-version script for vite structure
This commit is contained in:
@@ -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>"
|
||||
|
||||
Reference in New Issue
Block a user