-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
18 lines (16 loc) · 618 Bytes
/
Dockerfile
File metadata and controls
18 lines (16 loc) · 618 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM ruby:2.4
#RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs yarn vim
RUN apt-get update && apt-get install -y \
curl \
build-essential \
libpq-dev &&\
curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
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 nodejs yarn
RUN mkdir /sage300
WORKDIR /sage300
ADD Gemfile /sage300/Gemfile
ADD Gemfile.lock /sage300/Gemfile.lock
RUN bundle install
ADD . /sage300