Development Container
This commit is contained in:
parent
20f83ad652
commit
8072663741
|
|
@ -3,7 +3,7 @@ RUN apk add build-base tzdata sqlite sqlite-dev && gem install tzinfo-data
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY Gemfile /app/Gemfile
|
COPY Gemfile /app/Gemfile
|
||||||
COPY Gemfile.lock /app/Gemfile.lock
|
COPY Gemfile.lock /app/Gemfile.lock
|
||||||
RUN bundle install --deployment --without development test
|
RUN bundle install
|
||||||
COPY . /app
|
COPY . /app
|
||||||
ENV RAILS_ENV production
|
ENV RAILS_ENV production
|
||||||
CMD bundle exec rails db:migrate && bundle exec rails s -p 3000 -b 0.0.0.0
|
CMD bundle exec rails db:migrate && bundle exec rails s -p 3000 -b 0.0.0.0
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
version: "3"
|
version: "3"
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: turniere/backend
|
image: registry.gitlab.com/turniere/turniere-backend:feature-development-docker-container
|
||||||
ports:
|
ports:
|
||||||
- 3000:3000
|
- 3000:3000
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue