Skip to content

Commit

Permalink
docker: Set HTTP listen address by env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
martinhpedersen committed Nov 5, 2023
1 parent 66cd955 commit 8e4aa1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ WORKDIR /app
ENV XDG_CONFIG_HOME=/app
ENV XDG_DATA_HOME=/app
ENV XDG_STATE_HOME=/app
ENV PAT_HTTPADDR=:8080
EXPOSE 8080
ENTRYPOINT ["/bin/pat"]
CMD ["http", "--addr", ":8080"]
CMD ["http"]

0 comments on commit 8e4aa1b

Please sign in to comment.