| 1234567891011121314151617181920212223242526272829 | 
							- #FROM node:16.6
 
- FROM node:17
 
- #FROM node:17-alpine
 
- #RUN apk add nss
 
- #RUN apk add git
 
- RUN apt update
 
- RUN apt-get install --yes libnss3
 
- RUN apt-get install --yes libatk1.0
 
- RUN apt-get install --yes libatk-bridge2.0
 
- RUN apt-get install --yes libcups2
 
- RUN apt-get install --yes libdrm2
 
- RUN apt-get install --yes libgtk3.0
 
- RUN apt-get install --yes libgbm1
 
- RUN apt-get install --yes libasound2
 
- RUN apt-get install --yes libexif12
 
- #RUN sed -i "s/puppeteer.launch();/puppeteer.launch({args: [\"--no-sandbox\"]});/g" node_modules/svgexport/render.js
 
- #RUN npm uninstall electron
 
- #RUN npm install electron
 
- RUN git clone https://github.com/takumade/NullboardX.git
 
- #RUN ls
 
- RUN sed -i '7s/.*/"start": "electron . --no-sandbox -a"/' /NullboardX/package.json
 
- RUN cd NullboardX ; npm install
 
- #RUN npm install
 
- COPY . .
 
- WORKDIR /NullboardX
 
- EXPOSE 3000
 
- ENV QTWEBENGINE_DISABLE_SANDBOX 1
 
- ENV DISPLAY=:0.0
 
- CMD ["npm","run","start","--no-sandbox"]
 
 
  |