13 lines
248 B
Text
13 lines
248 B
Text
|
FROM golang:latest
|
||
|
|
||
|
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
|