Use ubuntu as base image

This commit is contained in:
zidesm 2023-07-05 17:17:14 +02:00
parent bc113f15a8
commit 376143d391
2 changed files with 8 additions and 3 deletions

View File

@ -8,11 +8,16 @@ RUN tar -xvf *.tar.gz
RUN rm -rf iventoy-1.0.07-linux.tar.gz
RUN mv iventoy-${IVENTOY} iventoy
FROM alpine:3.18.2
FROM ubuntu:22.04
WORKDIR /app
# Copy iventoy
COPY --from=init /iventoy/iventoy /app
RUN chmod +x /app/iventoy.sh
COPY ./entrypoint.sh /entrypoint.sh
# Webui
EXPOSE 26000/tcp
# HTTP server
EXPOSE 16000/tcp
CMD /entrypoint.sh

View File

@ -2,5 +2,5 @@
#!/bin/sh
cd /app
./iventoy.sh start
sleep infinity
tail -f /iventoy/log/log.txt
sleep 5
tail -f log/log.txt