|
@@ -0,0 +1,18 @@
|
|
1
|
+# Clone the warframe-items repo so we can copy the JSON files
|
|
2
|
+
|
|
3
|
+FROM debian:stretch as items
|
|
4
|
+
|
|
5
|
+RUN apt-get -qq update \
|
|
6
|
+ && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y --no-install-recommends git ca-certificates \
|
|
7
|
+ && rm -rf /var/lib/apt/lists/*
|
|
8
|
+
|
|
9
|
+RUN git clone --depth 1 https://github.com/WFCD/warframe-items.git /tmp/warframe-items
|
|
10
|
+
|
|
11
|
+# Add our HTML and the JSON from warframe-items to nginx's default directory
|
|
12
|
+
|
|
13
|
+FROM nginx
|
|
14
|
+
|
|
15
|
+RUN rm -rf /usr/share/nginx/html
|
|
16
|
+
|
|
17
|
+COPY html /usr/share/nginx/html
|
|
18
|
+COPY --from=items /tmp/warframe-items/data/json /usr/share/nginx/html/data
|