FROM nikolaik/python-nodejs:python3.10-nodejs20 #RUN apt-get update && apt-get install -y libappindicator3-dev libgtk-3-dev libsoup-3.0-dev libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev libglib2.0-dev libgdk-pixbuf2.0-dev libcairo2-dev libgstreamer1.0-dev #ENV PKG_CONFIG_PATH="/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig" RUN corepack enable USER root #RUN curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh -s -- -y #ENV CARGO_HOME="/root/.cargo" #ENV PATH="/root/.cargo/bin:${PATH}" RUN mkdir /app RUN chmod -R 777 /app RUN git clone https://github.com/Narratium/Narratium.ai /app WORKDIR /app/Narratium RUN pnpm install #RUN npm install -g pake-cli #RUN pnpm pake-linux #RUN cp /app/narratium.deb /output/narratium.deb #ENV OUTPUT_DIR=/output #RUN chmod +x /app/narratium.deb #RUN apt install /app/narratium.deb COPY run.sh /run.sh RUN chmod +x /run.sh EXPOSE 3000 CMD ["sh", "/run.sh"]