Switched to debian

This commit is contained in:
2022-02-02 22:07:33 +07:00
parent e6f09403a0
commit 7f6e80f9e7
+4 -2
View File
@@ -1,13 +1,15 @@
FROM ubuntu FROM debian
RUN mkdir -p /home/node/app/node_modules RUN mkdir -p /home/node/app/node_modules
WORKDIR /home/node/app WORKDIR /home/node/app
COPY package*.json ./ COPY package*.json ./
COPY prisma ./prisma/ COPY prisma ./prisma/
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 RUN apt-get -y install curl gnupg git python2 make g++ iputils-ping ffmpeg
RUN curl -sL https://deb.nodesource.com/setup_17.x | bash - RUN curl -sL https://deb.nodesource.com/setup_17.x | bash -
RUN apt-get -y install nodejs RUN apt-get -y install nodejs