mirror of
https://github.com/zoriya/flood.git
synced 2025-12-05 23:06:20 +00:00
build: use npm start in master-dbg docker image (#704)
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
"check-types": "tsc",
|
||||
"lint": "NODE_ENV=development eslint --max-warnings 0 . --ext .js --ext .jsx --ext .ts --ext .tsx",
|
||||
"prepack": "rm -rf dist && npm run build",
|
||||
"start": "node --use_strict dist/index.js",
|
||||
"start": "node --enable-source-maps --use_strict dist/index.js",
|
||||
"start:development:client": "node client/scripts/development.js",
|
||||
"start:development:server": "NODE_ENV=development tsx watch server/bin/start.ts",
|
||||
"start:test:rtorrent": "node scripts/testsetup.js",
|
||||
|
||||
Reference in New Issue
Block a user