Update Dockerfile

This commit is contained in:
2023-09-23 02:21:33 +07:00
committed by GitHub
parent 7f679236ce
commit f26d837626
+3 -3
View File
@@ -5,7 +5,7 @@ COPY . .
RUN DEBIAN_FRONTEND=noninteractive RUN DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y RUN apt-get update -y
RUN apt-get -y install curl gnupg git python2 make g++ iputils-ping ffmpeg RUN apt-get -y install curl gnupg git dh-python make g++ iputils-ping ffmpeg
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get -y install nodejs RUN apt-get -y install nodejs
RUN npm i -g yarn RUN npm i -g yarn
@@ -17,7 +17,7 @@ FROM debian
WORKDIR /home/node/app WORKDIR /home/node/app
RUN apt-get update -y RUN apt-get update -y
RUN apt-get -y install curl gnupg git python2 make g++ iputils-ping ffmpeg RUN apt-get -y install curl gnupg git dh-python make g++ iputils-ping ffmpeg
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get -y install nodejs RUN apt-get -y install nodejs
RUN npm i -g yarn RUN npm i -g yarn
@@ -34,4 +34,4 @@ COPY --from=build /home/node/app/locales ./locales/
COPY --from=build /home/node/app/dist . COPY --from=build /home/node/app/dist .
CMD [ "node", "index.js"] CMD [ "node", "index.js"]