1234567891011121314151617181920212223242526272829 |
- FROM node:17
- 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 git clone https://github.com/takumade/NullboardX.git
- RUN sed -i '7s/.*/"start": "electron . --no-sandbox -a"/' /NullboardX/package.json
- RUN cd NullboardX ; npm install
- COPY . .
- WORKDIR /NullboardX
- EXPOSE 3000
- ENV QTWEBENGINE_DISABLE_SANDBOX 1
- ENV DISPLAY=:0.0
- CMD ["npm","run","start","--no-sandbox"]
|