We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afecc1d commit d52c5e0Copy full SHA for d52c5e0
1 file changed
evaluationserver/Dockerfile.prod
@@ -0,0 +1,16 @@
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 && bundle install --jobs 20 --retry 5 # might be better?
10
+RUN gem install bundler
11
+ENV RAILS_ENV production
12
+RUN bundle exec rake assets:precompile
13
+LABEL maintainer="[email protected]" \
14
+ version="1.0"
15
+EXPOSE 8081
16
+#CMD ["bin", "docker_start"]
0 commit comments