summaryrefslogtreecommitdiffstats
path: root/sites/mediengewitter.krebsco.de/mediengewitter/Dockerfile
blob: fd378c797aaaecb61dad56872b5309b2021cec5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
FROM    ubuntu:latest
RUN apt-get update
RUN apt-get install -y python gcc make  nodejs npm
RUN ln -s /usr/bin/nodejs /usr/bin/node
Add mediengewitter/ /mediengewitter
RUN cd /mediengewitter && npm install
# -v /media/ext/magnet_pics/:/images
EXPOSE 8080
ENV PORT 8080
RUN rm /mediengewitter/public/content -r
RUN ln -s /images /mediengewitter/public/content
CMD ["/mediengewitter/run.sh"]