oef_website/Dockerfile

11 lines
339 B
Text
Raw Normal View History

2019-11-11 16:52:47 +01:00
FROM golang
RUN apt-get update && apt-get install -y netcat
ENV PATH=$GOPATH/bin:$PATH
RUN mkdir -p /olimpiadieconomiaefinanza
ADD ./public /olimpiadieconomiaefinanza/public
COPY main.go /olimpiadieconomiaefinanza/
WORKDIR /olimpiadieconomiaefinanza
RUN go build -o server *.go
ENTRYPOINT ["/olimpiadieconomiaefinanza/server"]
EXPOSE 3000