update Docker configuration

This commit is contained in:
shincurry
2020-02-18 05:02:20 +08:00
parent 873edcd40c
commit ac77fb3c5c
4 changed files with 29 additions and 3 deletions

View File

@@ -8,5 +8,11 @@ RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources
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
WORKDIR /Mango
COPY . .
COPY package*.json .
RUN make && make install
CMD ["mango"]