oef_website/Dockerfile
2019-11-11 16:52:47 +01:00

10 lines
339 B
Docker

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