build: use npm start in master-dbg docker image (#704)

This commit is contained in:
Trim21
2023-12-12 01:27:03 +08:00
committed by GitHub
parent 2098c2e3f1
commit e523a294e7
2 changed files with 3 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ EXPOSE 3000
EXPOSE 4200
# Flood server in development mode
ENTRYPOINT ["npm", "--prefix=/usr/src/app/", "run", "start:development:server", "--", "--host=0.0.0.0"]
ENTRYPOINT ["npm", "--prefix=/usr/src/app/", "run", "start", "--", "--host=0.0.0.0"]
# Then, to start a debugging session of frontend:
# docker exec -it ${container_id} npm --prefix=/usr/src/app/ run start:development:client
@@ -61,4 +61,4 @@ FROM flood as rtorrent-flood
# Copy rTorrent
COPY --from=rtorrent / /
ENTRYPOINT ["npm", "--prefix=/usr/src/app/", "run", "start:development:server", "--", "--host=0.0.0.0", "--rtorrent"]
ENTRYPOINT ["npm", "--prefix=/usr/src/app/", "run", "start", "--", "--host=0.0.0.0", "--rtorrent"]