Narratium / Dockerfile
ZSCGR's picture
Update Dockerfile
b7b9c4c verified
raw
history blame
813 Bytes
FROM nikolaik/python-nodejs:python3.10-nodejs20
RUN apt-get update && apt-get install -y 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.git /app
WORKDIR /app/Narratium
RUN pnpm install
RUN npm install -g pake-cli
RUN pnpm pake-linux
RUN ls /app
RUN ls /app/Narratium
#COPY run.sh /run.sh
#RUN chmod +x /run.sh
EXPOSE 3000
#CMD ["sh", "/run.sh"]