Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.

Commit

Permalink
Update docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyah Check committed Jan 20, 2020
1 parent 1f2ffb1 commit c29a26d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Dockerfile
**.md
.git
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV GO111MODULE=on
WORKDIR /app
RUN echo "Build container"
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' -o ./youtube-dl download.go main.go
RUN CGO_ENABLED=0 GOOS=linux go build -o /youtube-dl .


# Runtime container
Expand Down

0 comments on commit c29a26d

Please sign in to comment.