youtube-dl-service/backend/Dockerfile

13 lines
248 B
Text
Raw Normal View History

2021-11-03 09:47:23 +01:00
FROM golang:1.17.2
2021-11-03 09:33:07 +01:00
ENV PATH=$PATH:/src/yt-dls-backend/
RUN mkdir -p /src/yt-dls-backend
ADD . /src/yt-dls-backend
WORKDIR /src/yt-dls-backend
RUN go build -o yt-dls-backend *.go
ENTRYPOINT ["/src/yt-dls-backend/yt-dls-backend"]
EXPOSE 3000