forked from zooniverse/cellect_panoptes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.dev
More file actions
31 lines (21 loc) · 720 Bytes
/
Dockerfile.dev
File metadata and controls
31 lines (21 loc) · 720 Bytes
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
FROM zooniverse/ruby:2.2.1
WORKDIR /cellect_panoptes
ENV DEBIAN_FRONTEND noninteractive
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8
RUN apt-get update && \
apt-get -y upgrade && \
apt-get install -y --no-install-recommends autoconf automake \
libboost-all-dev libffi-dev git-core supervisor curl && \
apt-get autoremove && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ADD ./Gemfile /cellect_panoptes/
ADD ./Gemfile.lock /cellect_panoptes/
RUN bundle install
ADD supervisord.conf /etc/supervisor/conf.d/cellect.conf
ADD ./ /cellect_panoptes
RUN chmod +x /cellect_panoptes/cellect_start
EXPOSE 80
ENTRYPOINT [ "/usr/bin/supervisord" ]