-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
36 lines (25 loc) · 974 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FROM "ubuntu:bionic"
###
# This docker file provides a consistant environment for running the
# project locally. See the "Docker" section of README.md for more information
###
SHELL ["/bin/bash", "-c"]
EXPOSE 8000
RUN apt-get update
RUN apt-get install -y curl sudo gnupg2 build-essential rsync git
# Install Node
ENV NVM_DIR /usr/local/nvm
ENV NODE_VERSION 6.10.0
WORKDIR $NVM_DIR
RUN curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash \
&& . $NVM_DIR/nvm.sh \
&& nvm install $NODE_VERSION \
&& nvm alias default $NODE_VERSION \
&& nvm use default
ENV NODE_PATH $NVM_DIR/versions/node/v$NODE_VERSION/lib/node_modules
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH
RUN apt-get install -y ruby-dev rubygems libffi-dev
RUN gem install bundler
RUN npm install -g gulp coffee-script bower
# The following is run each time the container is "run"
CMD echo "No command provided, you should be using run_dev.sh"