We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3852f4c + eeefb79 commit 16e1c3aCopy full SHA for 16e1c3a
1 file changed
evaluationserver/Dockerfile.prod
@@ -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