update trivy action
This commit is contained in:
@@ -4,12 +4,14 @@ RUN pacman -Syu --noconfirm && pacman -S --noconfirm \
|
||||
nginx rsync cronie util-linux findutils && \
|
||||
pacman -Scc --noconfirm
|
||||
|
||||
RUN mkdir /srv/repo
|
||||
# Create the /srv/repo directory to store repository data
|
||||
RUN mkdir -p /srv/repo
|
||||
|
||||
COPY entrypoint.bash /
|
||||
RUN chmod u+x /entrypoint.bash
|
||||
|
||||
# Define a mount point for the repository data
|
||||
VOLUME /srv/repo
|
||||
# Expose port 80 for the web server
|
||||
EXPOSE 80
|
||||
|
||||
ENTRYPOINT ["/entrypoint.bash"]
|
||||
|
||||
Reference in New Issue
Block a user