Skip to content

Commit

Permalink
Merge pull request #1 from nkcr/dockerfile-update
Browse files Browse the repository at this point in the history
Updates the dockerfile to explicitly expose the port
  • Loading branch information
nkcr authored Sep 24, 2022
2 parents fd63585 + 868e8a7 commit 1183da3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# docker run -e INSTAGRAM_TOKEN=XXX -p 3333:3333 -v $(pwd)/data:/data osia
FROM alpine:3.14
COPY --chmod=0755 ./osia-linux-amd64 /osia
EXPOSE 3333
RUN mkdir /data
ENTRYPOINT ["/osia", "--interval", "30m", "--dbfilepath", "/data/osia.db", \
"--imagesfolder", "/data/images/", "--listen", "0.0.0.0:3333"]

0 comments on commit 1183da3

Please sign in to comment.