Use Dockerfile flow for QA Auto DevOps

This results in 40MB images vs 400MB images which is faster to upload
and download. This does mean we lose the default herokuish QA coverage
but we should have adequate coverage in
https://gitlab.com/gitlab-org/cluster-integration/auto-build-image/ now.

Triva: herokuish is bigger because it's base image is based on `ubuntu`.
This commit is contained in:
Thong Kuah 2019-05-23 22:21:26 +12:00
parent d92fa15fa8
commit 1758bad004
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
FROM ruby:2.6.3-alpine
ADD ./ /app/
WORKDIR /app
ENV RACK_ENV production
ENV PORT 5000
EXPOSE 5000
RUN bundle install
CMD ["bundle","exec", "rackup", "-p", "5000"]