mirror of
https://github.com/icewind1991/mx-puppet-steam.git
synced 2026-06-03 17:44:09 +02:00
update docker image
This commit is contained in:
parent
f1c74277ac
commit
11ce29418f
4 changed files with 12 additions and 3812 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:14-alpine AS builder
|
||||
FROM node:18-alpine AS builder
|
||||
|
||||
WORKDIR /opt/mx-puppet-steam
|
||||
|
||||
|
|
@ -20,6 +20,7 @@ RUN apk add --no-cache \
|
|||
# pre hooks are not executed while running as root
|
||||
|
||||
COPY package.json package-lock.json ./
|
||||
COPY patches ./patches
|
||||
RUN chown -R node:node /opt/mx-puppet-steam
|
||||
USER node
|
||||
RUN npm ci
|
||||
|
|
@ -30,7 +31,7 @@ RUN npm run build
|
|||
|
||||
RUN rm -r node_modules/typescript
|
||||
|
||||
FROM node:14-alpine
|
||||
FROM node:18-alpine
|
||||
|
||||
VOLUME /data
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue