feat: Adds /root/project directory and sets it as the working directory in docker container.
This commit is contained in:
@@ -53,7 +53,6 @@ RUN export DEBIAN_FRONTEND=nointeractive DEBCONF_NOINTERACTIVE_SEEN=true && \
|
|||||||
ansible \
|
ansible \
|
||||||
curl \
|
curl \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
just \
|
|
||||||
pandoc \
|
pandoc \
|
||||||
texlive \
|
texlive \
|
||||||
texlive-xetex \
|
texlive-xetex \
|
||||||
@@ -68,11 +67,11 @@ COPY --from=build /staging/hpa /usr/local/bin
|
|||||||
|
|
||||||
# Install the entrypoint script and make execuatable.
|
# Install the entrypoint script and make execuatable.
|
||||||
COPY docker/entrypoint.sh /entrypoint.sh
|
COPY docker/entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh && mkdir /root/project
|
||||||
|
|
||||||
# Set workdir and volume mounts.
|
# Set workdir and volume mounts.
|
||||||
WORKDIR /root
|
WORKDIR /root/project
|
||||||
VOLUME /root
|
VOLUME /root/project
|
||||||
|
|
||||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||||
CMD ["--help"]
|
CMD ["--help"]
|
||||||
|
|||||||
Reference in New Issue
Block a user