- add Dockerfile

This commit is contained in:
Alex Ling
2020-02-17 17:36:11 +00:00
parent 52b1d6f03a
commit 873edcd40c
2 changed files with 22 additions and 8 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM crystallang/crystal:0.32.0
RUN apt-get update && apt-get install -y curl
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
RUN apt-get update && apt-get install -y nodejs yarn libsqlite3-dev
RUN git clone https://github.com/hkalexling/Mango
RUN cd Mango && make && make install