Skip to content

Commit

Permalink
add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Mon-ius committed Mar 8, 2024
1 parent 93d1185 commit 7508f0a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ ENTRYPOINT ["/run/entrypoint.sh"]

EXPOSE 80 443

CMD ["cat", "/etc/store.debug"]
# CMD ["cat", "/etc/store.debug"]
CMD ["nginx"]
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ doas podman run -itd \
-p 443:443 \
monius/docker-instant-ai

doas podman inspect ii
doas podman rm -f $(doas podman ps -a -q)
doas podman rmi -f $(doas podman images -a -q)
```
4 changes: 2 additions & 2 deletions dev/BASE
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ RUN apk --no-cache add ca-certificates openssl pcre zlib tzdata git

COPY --from=NGINX /usr/sbin/nginx /usr/sbin/nginx

RUN du -sh / >> /etc/store.debug
# RUN du -sh / >> /etc/store.debug

RUN curl -fsSL https://get.acme.sh | sh -s [email protected]

RUN addgroup -S ${XUSER} && \
adduser -D -S -h /var/cache/nginx -s /sbin/nologin -G ${XUSER} ${XUSER}

RUN du -sh / >> /etc/store.debug
# RUN du -sh / >> /etc/store.debug

0 comments on commit 7508f0a

Please sign in to comment.