Browse Source

A few updates. Currently, using fspc repository, rather than recyclery.

master
Jonathan Rosenbaum 6 years ago
parent
commit
cf33adbfe8
  1. 3
      Dockerfile
  2. 2
      Gemfile
  3. 1
      docker-compose.yml

3
Dockerfile

@ -7,9 +7,10 @@ FROM ruby:2.3.1
MAINTAINER Jonathan Rosenbaum <gnuser@gmail.com> MAINTAINER Jonathan Rosenbaum <gnuser@gmail.com>
WORKDIR /app WORKDIR /app
RUN git clone https://github.com/Loos/bike-database.git . RUN git clone https://github.com/fspc/bike-database.git .
#RUN apt-get update && apt-get -y install g++ libfcgi-dev libsqlite3-dev libpq-dev nodejs #RUN apt-get update && apt-get -y install g++ libfcgi-dev libsqlite3-dev libpq-dev nodejs
RUN printf "deb http://archive.debian.org/debian/ jessie main\ndeb-src http://archive.debian.org/debian/ jessie main\ndeb http://security.debian.org jessie/updates main\ndeb-src http://security.debian.org jessie/updates main" > /etc/apt/sources.list
RUN apt-get update && apt-get -y install libsqlite3-0 nodejs RUN apt-get update && apt-get -y install libsqlite3-0 nodejs
COPY Gemfile /app COPY Gemfile /app

2
Gemfile

@ -3,7 +3,7 @@ ruby "2.3.1"
gem 'rails', '4.2' gem 'rails', '4.2'
gem 'pg', '0.15.1' gem 'pg', '0.15.1'
gem 'sqlite3' gem 'sqlite3', '1.3.11'
gem 'bcrypt-ruby', '3.1.2' gem 'bcrypt-ruby', '3.1.2'
gem 'devise' gem 'devise'
gem 'faraday', '0.9.1' gem 'faraday', '0.9.1'

1
docker-compose.yml

@ -10,6 +10,7 @@ services:
bike-database: bike-database:
container_name: bike-database container_name: bike-database
build: . build: .
image: bike-database
network_mode: "bridge" network_mode: "bridge"
restart: always restart: always
volumes: volumes:

Loading…
Cancel
Save