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