Skip to content
Snippets Groups Projects
Commit acf938eb authored by Aya Morisawa's avatar Aya Morisawa
Browse files

parent 63b49a43
No related branches found
No related tags found
No related merge requests found
......@@ -17,12 +17,7 @@ RUN pacman -Syyu --noconfirm
RUN pacman -S --noconfirm git nodejs npm mongodb redis
RUN echo '#!/bin/sh' >> /root/misskey.sh
RUN echo 'redis-server --daemonize yes' >> /root/misskey.sh
RUN echo 'mongod > /dev/null &' >> /root/misskey.sh
RUN echo 'cd /root/misskey' >> /root/misskey.sh
RUN echo 'npm start' >> /root/misskey.sh
RUN echo 'tail -f /dev/null' >> /root/misskey.sh
COPY misskey.sh /root/misskey.sh
RUN chmod u+x /root/misskey.sh
EXPOSE 80
......
#!/bin/sh
redis-server --daemonize yes
mongod > /dev/null &
cd /root/misskey
npm start
tail -f /dev/null
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment