mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 11:27:31 -07:00
✨
This commit is contained in:
parent
6e4393dc35
commit
1aed48102d
2 changed files with 7 additions and 6 deletions
|
@ -17,12 +17,7 @@ RUN pacman -Syyu --noconfirm
|
||||||
|
|
||||||
RUN pacman -S --noconfirm git nodejs npm mongodb redis
|
RUN pacman -S --noconfirm git nodejs npm mongodb redis
|
||||||
|
|
||||||
RUN echo '#!/bin/sh' >> /root/misskey.sh
|
COPY misskey.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
|
|
||||||
RUN chmod u+x /root/misskey.sh
|
RUN chmod u+x /root/misskey.sh
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
6
docker/misskey.sh
Normal file
6
docker/misskey.sh
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
redis-server --daemonize yes
|
||||||
|
mongod > /dev/null &
|
||||||
|
cd /root/misskey
|
||||||
|
npm start
|
||||||
|
tail -f /dev/null
|
Loading…
Reference in a new issue