File size: 944 Bytes
edae8cf
6abfe78
8956aac
 
ec2c20a
c61c3f4
8956aac
 
 
9115a63
66c020f
e0db18b
0acd72f
b03c295
8956aac
 
9de211d
8956aac
 
 
 
2439ad9
8956aac
 
0acd72f
63427c1
7980264
8956aac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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"]