Farmbot-Web-App/docker_configs/api.Dockerfile

11 lines
388 B
Plaintext
Raw Normal View History

2018-10-01 13:39:10 -06:00
FROM ruby:2.5
2018-10-01 14:06:26 -06:00
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev \
postgresql postgresql-contrib
2018-10-01 13:39:10 -06:00
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
RUN apt-get install -y nodejs
RUN mkdir /farmbot
WORKDIR /farmbot
2018-10-01 13:39:10 -06:00
ENV BUNDLE_PATH=/bundle BUNDLE_BIN=/bundle/bin GEM_HOME=/bundle
ENV PATH="${BUNDLE_BIN}:${PATH}"
2018-10-01 13:29:47 -06:00
COPY ./Gemfile /farmbot