test
This commit is contained in:
parent
41359dd730
commit
9387d3961f
29
Dockerfile
29
Dockerfile
@ -1,12 +1,25 @@
|
|||||||
FROM node:latest
|
FROM node:latest
|
||||||
|
|
||||||
|
MAINTAINER Stefan Hoffmann <stefan@freifunk-troisdorf.de>
|
||||||
|
|
||||||
|
# Install Yarn
|
||||||
|
RUN apt-get update && apt-get install -y curl apt-transport-https && \
|
||||||
|
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
|
||||||
|
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
|
||||||
|
apt-get update && apt-get install -y yarn
|
||||||
|
|
||||||
|
# Install Grunt
|
||||||
|
RUN npm install --global grunt-cli && \
|
||||||
|
apt-get install -y ruby ruby-dev && \
|
||||||
|
gem install --no-rdoc --no-ri sass -v 3.4.22 && \
|
||||||
|
gem install --no-rdoc --no-ri compass
|
||||||
|
|
||||||
|
# Build Meshviewer
|
||||||
RUN git clone https://github.com/ffrgb/meshviewer.git /opt/meshviewer/
|
RUN git clone https://github.com/ffrgb/meshviewer.git /opt/meshviewer/
|
||||||
|
|
||||||
WORKDIR /opt/meshviewer
|
WORKDIR /opt/meshviewer
|
||||||
RUN npm install gulp -D
|
RUN npm install gulp -D && \
|
||||||
RUN yarn
|
yarn && \
|
||||||
RUN yarn global add gulp-cli
|
yarn global add gulp-cli
|
||||||
RUN gulp
|
|
||||||
#COPY start.sh /start.sh
|
#RUN gulp
|
||||||
#RUN chmod +x /start.sh
|
|
||||||
VOLUME /opt/meshviewer/data
|
|
||||||
#CMD ["/start.sh"]
|
|
Loading…
Reference in New Issue
Block a user