Sha256: bfc120a8a34abf486fe51afeb62ffd330825bc04efdae6dc5997a10807e3231d

Contents?: true

Size: 643 Bytes

Versions: 20

Compression:

Stored size: 643 Bytes

Contents

FROM phusion/passenger-customizable:latest
CMD ["/sbin/my_init"]

# install ruby and node.js
RUN /pd_build/ruby2.2.sh
RUN /pd_build/nodejs.sh

## configure nginx
RUN rm /etc/nginx/sites-enabled/default
ADD nginx.conf /etc/nginx/sites-enabled/carte.conf

## add source code
RUN mkdir /home/app/carte
ADD . /home/app/carte

## install dependencies
RUN npm install gulp -g
RUN cd /home/app/carte && bundle install
RUN cd /home/app/carte && npm install

## build client side code
RUN cd /home/app/carte && gulp build

## cleanup
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

## enable nginx
RUN rm -f /etc/service/nginx/down

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
carte-server-1.0.11 Dockerfile
carte-server-1.0.10 Dockerfile
carte-server-1.0.9 Dockerfile
carte-server-1.0.8 Dockerfile
carte-server-1.0.7 Dockerfile
carte-server-1.0.6 Dockerfile
carte-server-1.0.5 Dockerfile
carte-server-1.0.4 Dockerfile
carte-server-1.0.3 Dockerfile
carte-server-1.0.2 Dockerfile
carte-server-1.0.1 Dockerfile
carte-server-1.0.0 Dockerfile
carte-server-0.0.28 Dockerfile
carte-server-0.0.27 Dockerfile
carte-server-0.0.26 Dockerfile
carte-server-0.0.25 Dockerfile
carte-server-0.0.24 Dockerfile
carte-server-0.0.23 Dockerfile
carte-server-0.0.22 Dockerfile
carte-server-0.0.21 Dockerfile