-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
21 lines (18 loc) · 913 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM alpine:3.6
MAINTAINER Hermann Mayer <hermann.mayer92@gmail.com>
COPY . /app
WORKDIR /app
RUN apk add --update \
ruby ruby-dev ruby-bundler ruby-json \
libstdc++ tzdata bash ca-certificates \
build-base git \
&& \
bundle install --clean --without development \
&& \
apk del libstdc++ tzdata bash build-base \
&& \
cp /app/bin/docker-plankton /bin/plankton \
&& \
chmod +x /bin/plankton
ENTRYPOINT /usr/bin/bundle exec exe/plankton
CMD help