compress docker stages, rewrite readme, fixes #6 and #7
All checks were successful
/ Build Container (push) Successful in 1h6m50s

This commit is contained in:
2025-09-27 11:35:46 +05:30
parent d694c42e60
commit fc64e871b9
2 changed files with 20 additions and 10 deletions

View File

@@ -1,8 +1,7 @@
FROM alpine:3.22
# Update and install latex packages
RUN apk update
RUN apk add entr texlive-full
RUN apk update && apk add entr texlive-full
# Creating container structure
ENV mainFile=""
@@ -13,9 +12,8 @@ WORKDIR /app
# Copy install scripts
USER ltxuser
COPY --chown=ltxuser:ltxgroup startup.sh /app/startup.sh
RUN chmod +x /app/startup.sh
COPY --chown=ltxuser:ltxgroup setupFiles /app/setupFiles
RUN chmod +x /app/setupFiles/install.sh
RUN chmod +x /app/startup.sh /app/setupFiles/install.sh
# Startup command
CMD [ "sh", "-c", "/app/startup.sh ${mainFile}" ]