We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b431e66 commit e3ec62aCopy full SHA for e3ec62a
docker-config/os-explorer/Dockerfile
@@ -3,6 +3,11 @@ FROM node:7-alpine
3
RUN apk add --update git
4
RUN update-ca-certificates
5
RUN git clone http://github.com/openspending/os-explorer.git app
6
+RUN cd /app && npm install
7
+
8
+# Copy OBEU-settings:
9
+COPY ./config.js /app/config.js
10
11
12
COPY ./startup.sh /startup.sh
13
docker-config/os-explorer/startup.sh
@@ -1,6 +1,6 @@
1
#!/bin/sh
2
set -e
-cd /app && npm install && npm run build
+cd /app && npm run build
rm -rf /var/cache/apk/*
ls $WORKDIR/.git > /dev/null && cd $WORKDIR || cd /app
echo working from `pwd`
0 commit comments