Commit 31708b7f authored by Zac Wood's avatar Zac Wood

starting CI -- no idea if this will work

parent 10776902
Pipeline #2642 failed with stage
in 16 seconds
image: docker:stable
stages:
- test
before_script:
- cd schedules_api/
- docker build . -t schedules_api
schedules_api:
stage: test
script:
- docker run schedules_api rails test
......@@ -6,3 +6,5 @@ services:
ports:
- "3000:3000"
command: ./start.sh
volumes:
- .:/api
......@@ -4,5 +4,4 @@ RUN mkdir /api
WORKDIR /api
ADD . /api
RUN bundle install --without development
ENV RAILS_ENV=production
RUN bundle install
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment