mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-07 10:46:27 +02:00
zombie process handler
This commit is contained in:
parent
347f2d56d7
commit
3673b4e403
4 changed files with 32 additions and 733 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM node:15.8.0-buster-slim
|
||||
FROM node:15.10.0-buster-slim
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
|
@ -10,16 +10,14 @@ RUN for i in $(seq 1001 1500); do \
|
|||
RUN apt-get update && \
|
||||
apt-get install -y libxml2 gnupg tar coreutils util-linux libc6-dev \
|
||||
binutils build-essential locales libpcre3-dev libevent-dev libgmp3-dev \
|
||||
libncurses6 libncurses5 libedit-dev libseccomp-dev rename procps && \
|
||||
libncurses6 libncurses5 libedit-dev libseccomp-dev rename procps python3 && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen
|
||||
|
||||
ENV NODE_ENV=production
|
||||
|
||||
WORKDIR /piston_api
|
||||
COPY ["package.json", "package-lock.json", "./"]
|
||||
RUN npm i
|
||||
RUN npm install
|
||||
COPY ./src ./src
|
||||
|
||||
RUN make -C ./src/nosocket/ all && make -C ./src/nosocket/ install
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue