blob: 587b555b0359c339f07e61ab0d78c1ea004dcc2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
FROM docker.io/rusian/hyperbola:v0.4.4
RUN pacman -Syu --noconfirm && pacman -S --noconfirm \
nginx rsync cronie util-linux findutils && \
pacman -Scc --noconfirm
# 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"]
|