Skip to content

Commit 16e1c3a

Browse files
author
David Baum
committed
Merge remote-tracking branch 'origin/precompileassets' into precompileassets
2 parents 3852f4c + eeefb79 commit 16e1c3a

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

evaluationserver/Dockerfile.prod

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM ruby:2.4.3
2+
RUN apt-get update \
3+
&& apt-get install -y --no-install-recommends \
4+
rails rake build-essential nodejs libmysqlclient-dev mysql-client\
5+
&& rm -rf /var/lib/apt/lists/*
6+
RUN mkdir -p /usr/src/app
7+
WORkDIR /usr/src/app/
8+
COPY . .
9+
RUN gem install bundler
10+
RUN bundle install --jobs 20 --retry 5
11+
#RUN bundle binstub bundler --force
12+
#RUN gem install bundler
13+
ENV RAILS_ENV production
14+
#RUN bundle exec rake assets:precompile
15+
LABEL maintainer="[email protected]" \
16+
version="1.0"
17+
EXPOSE 8081
18+
#CMD ["bin", "docker_start"]

0 commit comments

Comments
 (0)