mirror of
https://github.com/System-End/shipment-viewer.git
synced 2026-04-19 16:28:19 +00:00
speed up image build by caching gem layer
This commit is contained in:
parent
647da38a2b
commit
120bbddc21
1 changed files with 3 additions and 1 deletions
|
|
@ -1,9 +1,11 @@
|
|||
FROM ruby:3.3.4
|
||||
|
||||
WORKDIR /code
|
||||
COPY . /code
|
||||
COPY Gemfile Gemfile.lock /code/
|
||||
RUN bundle install
|
||||
|
||||
COPY . /code
|
||||
|
||||
CMD ["bundle", "exec", "rackup", "--host", "0.0.0.0", "-p", "4567"]
|
||||
|
||||
EXPOSE 4567
|
||||
Loading…
Add table
Reference in a new issue