forked from EBWiki/EBWiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
29 lines (26 loc) · 858 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
FROM ruby:2.6.5
COPY Gemfile Gemfile.lock /
RUN gem install bundler && \
bundle install && \
gem install fakes3 && \
apt-get update -qq && \
apt-get install apt-transport-https && \
wget -q https://artifacts.elastic.co/GPG-KEY-elasticsearch &&\
apt-key add GPG-KEY-elasticsearch && \
echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" > \
/etc/apt/sources.list.d/elastic-6.x.list && \
apt-get update -qq && \
apt-get install -qq --no-install-recommends \
apt-utils \
build-essential \
libpq-dev \
nodejs \
npm \
default-jre \
postgresql \
redis-server && \
apt-get install -qq --no-install-recommends elasticsearch && \
mkdir /usr/src/ebwiki
WORKDIR /usr/src/ebwiki
EXPOSE 3000
ENTRYPOINT ./dev_provisions/entrypoint.sh