mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-08-17 05:34:37 +00:00
use node cluster to shard server
This commit is contained in:
+1
-1
@@ -16,6 +16,6 @@ COPY . .
|
||||
# Build the client-side application
|
||||
RUN npm run build-prod
|
||||
# Expose the port the app runs on
|
||||
EXPOSE 3000
|
||||
EXPOSE 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015
|
||||
# Define the command to run the app
|
||||
CMD ["npm", "run", "start:server"]
|
||||
Reference in New Issue
Block a user