-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
27 lines (19 loc) · 766 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM ubuntu:16.04
MAINTAINER Kristofor Carle <[email protected]>
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y wget git curl libssl-dev openssl nano unzip python build-essential g++ gdal-bin
#install node, npm, pm2
RUN curl -sL https://deb.nodesource.com/setup_4.x | bash
RUN apt-get install -y nodejs
RUN npm install -g npm && npm install pm2 -g
#create directory
RUN mkdir -p /var/tessera
WORKDIR /var/tessera
#install tessera
COPY ./package.json /var/tessera/package.json
RUN npm install
COPY ./configs /var/tessera/configs
COPY ./config.json /var/tessera/config.json
COPY ./docker-entrypoint.sh /var/tessera/docker-entrypoint.sh
RUN chmod +x /var/tessera/docker-entrypoint.sh
ENTRYPOINT ["/var/tessera/docker-entrypoint.sh"]