First Running
This commit is contained in:
parent
b833f0ac36
commit
ab4f6026a8
18
Dockerfile
18
Dockerfile
@ -1,18 +1,20 @@
|
|||||||
FROM ubuntu:16.04
|
FROM node:latest
|
||||||
|
|
||||||
#Install curl
|
#Install curl
|
||||||
RUN apt-get update && apt-get install -y curl apt-transport-https npm nodejs
|
#RUN apt-get update && apt-get install -y curl apt-transport-https
|
||||||
RUN npm install gulp-cli
|
#RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
|
||||||
|
#RUN apt-get install -y nodejs
|
||||||
|
|
||||||
# Install yarn
|
# Install yarn
|
||||||
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
|
#RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
|
||||||
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
|
#RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
|
||||||
RUN apt-get update && apt-get install -y yarn git
|
#RUN apt-get update && apt-get install -y yarn git
|
||||||
|
|
||||||
RUN git clone https://github.com/ffrgb/meshviewer.git /opt/meshviewer/ && cd /opt/meshviewer
|
RUN git clone https://github.com/ffrgb/meshviewer.git /opt/meshviewer/ && cd /opt/meshviewer
|
||||||
|
WORKDIR /opt/meshviewer
|
||||||
|
RUN npm install gulp -D
|
||||||
RUN yarn
|
RUN yarn
|
||||||
RUN yarn global add gulp-cli
|
RUN yarn global add gulp-cli
|
||||||
RUN gulp
|
RUN gulp
|
||||||
|
|
||||||
WORKDIR /opt/meshviewer
|
WORKDIR /opt/meshviewer
|
||||||
EXPOSE 80
|
|
Loading…
Reference in New Issue
Block a user