From 86625c4251fa0f5bcc52618b0802152640a2dd9b Mon Sep 17 00:00:00 2001 From: cyber-dream Date: Thu, 11 Aug 2022 02:21:33 +0300 Subject: [PATCH] Add Docker build scenario --- docker/dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docker/dockerfile diff --git a/docker/dockerfile b/docker/dockerfile new file mode 100644 index 0000000..4fdb6b3 --- /dev/null +++ b/docker/dockerfile @@ -0,0 +1,13 @@ +from node:16 AS build +#RUN apk add git +RUN dpkg --add-architecture i386 && apt update && apt -y install wine32 +#RUN apt install -y wine +WORKDIR /app +RUN git clone https://git.gregbrzezinski.com/Skirda/SkirdaElectronLauncher.git #skipcache +WORKDIR /app/SkirdaElectronLauncher +RUN git checkout skirda-launcher +RUN npm install +#RUN npm run dist:linux +RUN npm run dist:win +RUN ls /app/SkirdaElectronLauncher/dist +#COPY --from=build /app/SkirdaElectronLauncher/dist/* ./dist