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
|
WORKDIR /opt/mx-puppet-steam
|
||||||
|
|
||||||
|
|
@ -20,6 +20,7 @@ RUN apk add --no-cache \
|
||||||
# pre hooks are not executed while running as root
|
# pre hooks are not executed while running as root
|
||||||
|
|
||||||
COPY package.json package-lock.json ./
|
COPY package.json package-lock.json ./
|
||||||
|
COPY patches ./patches
|
||||||
RUN chown -R node:node /opt/mx-puppet-steam
|
RUN chown -R node:node /opt/mx-puppet-steam
|
||||||
USER node
|
USER node
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
|
|
@ -30,7 +31,7 @@ RUN npm run build
|
||||||
|
|
||||||
RUN rm -r node_modules/typescript
|
RUN rm -r node_modules/typescript
|
||||||
|
|
||||||
FROM node:14-alpine
|
FROM node:18-alpine
|
||||||
|
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ npm run start
|
||||||
|
|
||||||
### Docker
|
### Docker
|
||||||
|
|
||||||
If you prefer to use a docker based setup an image is available at [icewind1991/mx-puppet-steam](https://hub.docker.com/r/icewind1991/mx-puppet-steam).
|
If you prefer to use a docker based setup an image is available at [icewind1991/mx-puppet-steam](https://hub.docker.com/r/icewind1991/mx-puppet-steam) (Note that I do longer use the docker image myself so it's mostly untested).
|
||||||
|
|
||||||
## Linking
|
## Linking
|
||||||
|
|
||||||
|
|
|
||||||
3813
package-lock.json
generated
3813
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -22,13 +22,13 @@
|
||||||
"steamcommunity": "3.46.1",
|
"steamcommunity": "3.46.1",
|
||||||
"steamid": "1.1.3",
|
"steamid": "1.1.3",
|
||||||
"stream-buffers": "^3.0.2",
|
"stream-buffers": "^3.0.2",
|
||||||
"ts-debounce": "2.2.0"
|
"ts-debounce": "2.2.0",
|
||||||
|
"patch-package": "^8.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/gif-encoder": "^0.7.0",
|
"@types/gif-encoder": "^0.7.0",
|
||||||
"@types/node": "^14.14.22",
|
"@types/node": "^14.14.22",
|
||||||
"@types/steamid": "^2.0.0",
|
"@types/steamid": "^2.0.0",
|
||||||
"patch-package": "^8.0.0",
|
|
||||||
"typescript": "^4.1.3"
|
"typescript": "^4.1.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue