mirror of
https://github.com/ziggyds/iventoy
synced 2024-11-11 13:11:10 +00:00
Use ubuntu as base image
This commit is contained in:
parent
bc113f15a8
commit
376143d391
@ -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
|
@ -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
|
Loading…
Reference in New Issue
Block a user