mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 04:56:30 +02:00
api: add all users
This commit is contained in:
parent
920e6e7054
commit
809004ecf9
1 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,10 @@
|
|||
FROM node:15.8.0-alpine3.13
|
||||
RUN apk add --no-cache gnupg tar bash coreutils util-linux
|
||||
RUN apk add --no-cache gnupg tar bash coreutils shadow util-linux
|
||||
RUN userdel -r node
|
||||
RUN for i in $(seq 1000 1500); do \
|
||||
groupadd -g $i runner$i && \
|
||||
useradd -M runner$i -g $i -u $i ; \
|
||||
done
|
||||
|
||||
ENV NODE_ENV=production
|
||||
WORKDIR /piston_api
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue