[download-web/mirrorbits] Make Docker happy
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [download-web/mirrorbits] Make Docker happy
- Date: Mon, 7 Dec 2020 14:51:42 +0000 (UTC)
commit 5801f0802484209f5a3cedaa17035e71e4d65450
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Mon Dec 7 15:51:38 2020 +0100
Make Docker happy
Dockerfile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 0672123..c965850 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -12,8 +12,6 @@ RUN git clone https://github.com/etix/mirrorbits /go/mirrorbits && \
make
FROM debian:buster-slim
-VOLUME /usr/share/GeoIP
-VOLUME /srv/ftp
EXPOSE 8080
ENV DEBIAN_FRONTEND noninteractive
@@ -28,4 +26,7 @@ RUN install -d /usr/share/GeoIP /srv/ftp
ADD entrypoint.sh /entrypoint.sh
ADD mirrorbits.conf /etc/mirrorbits.conf
+VOLUME /usr/share/GeoIP
+VOLUME /srv/ftp
+
ENTRYPOINT ["/entrypoint.sh"]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]