mirror of
https://github.com/logos-storage/bittorrent-tracker.git
synced 2026-04-29 13:23:15 +00:00
11 lines
213 B
Docker
11 lines
213 B
Docker
FROM node:22-alpine3.20
|
|
|
|
ENV TRACKER_PORT=8000
|
|
|
|
RUN apk add gcompat
|
|
|
|
WORKDIR /opt/bitorrent-tracker
|
|
COPY . ./
|
|
RUN npm install
|
|
|
|
ENTRYPOINT ["bash", "-c", "/opt/bittorrent-tracker/bin/cmd.js --port ${TRACKER_PORT}"] |