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