Add Docker build scenario

This commit is contained in:
cyber-dream 2022-08-11 02:21:33 +03:00
parent aee3303853
commit 86625c4251

13
docker/dockerfile Normal file
View File

@ -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