adding nginx page & simulation endpoint

This commit is contained in:
2023-10-26 22:33:28 -03:00
parent bba35341fb
commit 2e71c4e8ed
8 changed files with 77 additions and 3 deletions

View File

@@ -18,7 +18,8 @@ WORKDIR /app
RUN wget https://files.ivanch.me/api/public/dl/iFuXSNhw/small-image.png && \
wget https://files.ivanch.me/api/public/dl/81Bkht5C/big-image.png && \
wget https://files.ivanch.me/api/public/dl/nAndfAjK/video.mp4
wget https://files.ivanch.me/api/public/dl/nAndfAjK/video.mp4 && \
wget https://files.ivanch.me/api/public/dl/RzXwJG7o/nginx.html
COPY . .
@@ -27,6 +28,7 @@ RUN cargo build --release && \
mv small-image.png ./static && \
mv big-image.png ./static && \
mv video.mp4 ./static && \
mv nginx.html ./static && \
ldconfig /usr/local/lib
ENV LD_LIBRARY_PATH=/usr/local/lib