0.1.0 Split repos, Add API docs, new env vars

This commit is contained in:
Daniel Mason 2021-12-25 15:38:42 +13:00
parent cf4498e8bc
commit 306bab997b
55 changed files with 19278 additions and 11 deletions

29
docs/api/Dockerfile Normal file
View file

@ -0,0 +1,29 @@
FROM ruby:2.6-slim
WORKDIR /srv/slate
VOLUME /srv/slate/build
VOLUME /srv/slate/source
EXPOSE 4567
COPY Gemfile .
COPY Gemfile.lock .
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
git \
nodejs \
&& gem install bundler \
&& bundle install \
&& apt-get remove -y build-essential git \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
COPY . /srv/slate
RUN chmod +x /srv/slate/slate.sh
ENTRYPOINT ["/srv/slate/slate.sh"]
CMD ["build"]