Skip to content

Commit

Permalink
fix(build): Revert tini (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikuroXina authored Dec 18, 2022
1 parent 7383ea6 commit 53da704
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ SHELL ["/bin/bash", "-c"]
WORKDIR /src

# node-gyp requires Python and basic packages needed to compile C libs
# Use tini to avoid PID 1 problem
RUN apt-get update \
&& apt-get install -y --no-install-recommends python3=3.9.2-3 build-essential=12.9 tini=0.19.0-1 \
&& apt-get install -y --no-install-recommends python3=3.9.2-3 build-essential=12.9 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

Expand All @@ -34,5 +33,5 @@ WORKDIR /app

COPY --from=build /build .

ENTRYPOINT ["/usr/bin/tini", "--"]
CMD ["node", "build/index.js"]
ENTRYPOINT ["node"]
CMD ["build/index.js"]

0 comments on commit 53da704

Please sign in to comment.