compress docker stages, rewrite readme, fixes #6 and #7
All checks were successful
/ Build Container (push) Successful in 1h6m50s
All checks were successful
/ Build Container (push) Successful in 1h6m50s
This commit is contained in:
@@ -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}" ]
|
||||
|
||||
Reference in New Issue
Block a user