-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
28 lines (17 loc) · 634 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
28
FROM golang
ADD . /go/src/github.com/tesis-lab/tesis
RUN apt-get update
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -
RUN apt-get install -y nodejs
RUN npm install webpack -g
WORKDIR /go/src/github.com/tesis-lab/tesis
RUN npm config set registry http:https://registry.npmjs.org/ && npm install
RUN go get github.com/dchest/uniuri
RUN go get github.com/gorilla/mux
RUN go get github.com/gorilla/websocket
RUN go install github.com/tesis-lab/tesis/editor
RUN webpack
# Run the server command by default when the container starts.
ENTRYPOINT /go/bin/editor
# Document that the service listens on port 8000.
EXPOSE 8000