From 6bb8a182e54810ed2a3950dc7ea3948c8a8f0e20 Mon Sep 17 00:00:00 2001 From: younglei Date: Mon, 13 Jun 2022 21:11:04 +0800 Subject: [PATCH] remove Dockerfile --- Dockerfile | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index c8dcf73..0000000 --- a/Dockerfile +++ /dev/null @@ -1,24 +0,0 @@ -# use the version that corresponds to your electron version -FROM node:14.16 - -LABEL NAME="electron-wrapper" -LABEL RUN="docker run --rm -it electron-wrapper bash" - -# install electron dependencies or more if your library has other dependencies -RUN apt-get update && apt-get install \ - git libx11-xcb1 libxcb-dri3-0 libxtst6 libnss3 libatk-bridge2.0-0 libgtk-3-0 libxss1 libasound2 \ - -yq --no-install-suggests --no-install-recommends \ - && apt-get clean && rm -rf /var/lib/apt/lists/* - -# copy the source into /app -WORKDIR /app -COPY . . -RUN chown -R node /app - -# install node modules and perform an electron rebuild -USER node -RUN npm install -RUN npm run build - -USER node -CMD bash \ No newline at end of file