Skip to content

Commit f185d3b

Browse files
Tanishq RupaalTanishq Rupaal
authored andcommitted
fix docker
1 parent 3c81680 commit f185d3b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ RUN apk add --no-cache curl
55

66
# Download the latest release binary
77
RUN curl -sL $(curl -s https://api.github.com/repos/tanq16/local-content-share/releases/latest | grep "browser_download_url.*local-content-share-linux-amd64\"" | cut -d '"' -f 4) -o local-content-share && \
8-
chmod +x local-content-share
8+
chmod +x local-content-share && \
9+
mv local-content-share /local-content-share
910

1011
# Create app directory
1112
WORKDIR /app
@@ -17,4 +18,4 @@ RUN mkdir data
1718
EXPOSE 8080
1819

1920
# Run the binary
20-
CMD ["./local-content-share"]
21+
CMD ["/local-content-share"]

0 commit comments

Comments
 (0)