Skip to content

Commit e3ec62a

Browse files
committed
update os-explorer
1 parent b431e66 commit e3ec62a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docker-config/os-explorer/Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ FROM node:7-alpine
33
RUN apk add --update git
44
RUN update-ca-certificates
55
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+
611

712
COPY ./startup.sh /startup.sh
813

docker-config/os-explorer/startup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22
set -e
3-
cd /app && npm install && npm run build
3+
cd /app && npm run build
44
rm -rf /var/cache/apk/*
55
ls $WORKDIR/.git > /dev/null && cd $WORKDIR || cd /app
66
echo working from `pwd`

0 commit comments

Comments
 (0)