fix dockerfile

This commit is contained in:
gmega 2024-11-01 17:25:58 -03:00
parent 295503e8e4
commit 2b405d2a2f
No known key found for this signature in database
GPG Key ID: 6290D34EAD824B18

View File

@ -4,8 +4,8 @@ ENV TRACKER_PORT=8000
RUN apk add gcompat
WORKDIR /opt/bitorrent-tracker
WORKDIR /opt/bittorrent-tracker
COPY . ./
RUN npm install
ENTRYPOINT ["bash", "-c", "/opt/bittorrent-tracker/bin/cmd.js --port ${TRACKER_PORT}"]
ENTRYPOINT ["sh", "-c", "/opt/bittorrent-tracker/bin/cmd.js --port ${TRACKER_PORT}"]