From a52bca082f13dd5ce34fc0fb2f232efa48c6ae65 Mon Sep 17 00:00:00 2001 From: Xuan Sang LE Date: Tue, 6 Oct 2020 17:40:15 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 637bf56..29917d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM alpine AS build-env RUN apk add build-base make sqlite-dev zlib-dev readline-dev nodejs npm COPY download /download -RUN cd /download/antd-1.0.4b && ./configure --prefix=/usr/ --enable-debug=yes && make && make install +RUN cd /download/antd-1.0.6b && ./configure --prefix=/usr/ --enable-debug=yes && make && make install RUN cd /download/lua-0.5.2b && ./configure --prefix=/opt/www --enable-debug=yes && make && make install RUN cd /download/wterm-1.0.0b && ./configure --prefix=/opt/www --enable-debug=yes && make && make install @@ -23,4 +23,4 @@ COPY --from=build-env /usr/lib/libantd* /usr/lib/ COPY --from=build-env /opt/www /opt/www RUN adduser --home /home/demo --disabled-password --gecos "" demo RUN echo -e "demo\ndemo" | passwd demo -ENTRYPOINT LD_PRELOAD=/opt/www/lib/lua/core.so /usr/bin/antd /etc/antd-config.ini \ No newline at end of file +ENTRYPOINT LD_PRELOAD=/opt/www/lib/lua/core.so /usr/bin/antd /etc/antd-config.ini