Skip to content

Commit

Permalink
Use port 4502
Browse files Browse the repository at this point in the history
  • Loading branch information
lalinsky committed Dec 1, 2024
1 parent 22d4ab8 commit 0dd3f16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM ubuntu:24.04

RUN useradd -m -s /bin/bash -u 1000 acoustid
RUN useradd -m -s /bin/bash -u 4502 acoustid

ADD zig-out/bin/fpindex /usr/bin

RUN mkdir -p /var/lib/acoustid/fpindex && chown -R acoustid /var/lib/acoustid/fpindex
VOLUME ["/var/lib/acoustid/fpindex"]

USER acoustid
EXPOSE 6080
EXPOSE 4502

CMD ["fpindex", "--dir", "/var/lib/acoustid/fpindex", "--address", "0.0.0.0", "--port", "6080"]
CMD ["fpindex", "--dir", "/var/lib/acoustid/fpindex", "--address", "0.0.0.0", "--port", "4502"]

0 comments on commit 0dd3f16

Please sign in to comment.