diff options
author | Diana Stanley <dstanley@gitlab.com> | 2018-09-07 22:26:32 -0700 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-09-10 10:30:17 +0200 |
commit | 3414f33d72c07c1fcd7c56318f9e9e6bbc39eed9 (patch) | |
tree | 8d96d3399f64df4b9543d1d0ee9cc86100e1bdc1 /vendor/Dockerfile/Ruby-alpine.Dockerfile | |
parent | bea943aed45c235d4c72f57a2693c1024afa662a (diff) | |
download | gitlab-ce-3414f33d72c07c1fcd7c56318f9e9e6bbc39eed9.tar.gz |
Update templates and licenses for 11.3dks-update-templates-licenses-11-3
Diffstat (limited to 'vendor/Dockerfile/Ruby-alpine.Dockerfile')
-rw-r--r-- | vendor/Dockerfile/Ruby-alpine.Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/Dockerfile/Ruby-alpine.Dockerfile b/vendor/Dockerfile/Ruby-alpine.Dockerfile index dffe9a65116..0f748d84b5d 100644 --- a/vendor/Dockerfile/Ruby-alpine.Dockerfile +++ b/vendor/Dockerfile/Ruby-alpine.Dockerfile @@ -7,21 +7,21 @@ RUN apk --no-cache add nodejs postgresql-client tzdata # throw errors if Gemfile has been modified since Gemfile.lock RUN bundle config --global frozen 1 -RUN mkdir -p /usr/src/app WORKDIR /usr/src/app -COPY Gemfile Gemfile.lock /usr/src/app/ +COPY Gemfile Gemfile.lock . # Install build dependencies - required for gems with native dependencies RUN apk add --no-cache --virtual build-deps build-base postgresql-dev && \ bundle install && \ apk del build-deps -COPY . /usr/src/app +COPY . . # For Sinatra #EXPOSE 4567 #CMD ["ruby", "./config.rb"] # For Rails +ENV PORT 3000 EXPOSE 3000 CMD ["bundle", "exec", "rails", "server"] |