Commit d70db038 authored by dagal's avatar dagal
Browse files

habemus docker

parent c361ebf7
# ubuntu 18.04
FROM ubuntu:bionic
LABEL mantainer="d.galaktionov@udc.es"
# RUN mkdir /root/data && mkdir /root/view
COPY trippy-gis /root/
COPY data/trippy.db /root/data/
COPY data/common /root/data/common/
COPY data/indexes /root/data/indexes/
COPY view/*.* /root/view/
WORKDIR /root
ENTRYPOINT /root/trippy-gis
all: build
docker: build
docker build -t dagal/trippy-gis .
docker run --rm -p 8088:8088 -t dagal/trippy-gis
build:
go build .
cd view/src && npm install && npm run build
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment