FROM node:18-alpine LABEL maintainer="tankwar" \ description="Tank War PVP WebSocket Server" WORKDIR /app # Copy all source including node_modules (pre-installed locally) # This avoids npm install issues due to network restrictions on build nodes COPY . . ENV NODE_ENV=production \ HOST=0.0.0.0 \ PORT=3000 EXPOSE 3000 # Use node directly (tini unavailable due to network restrictions on nodes) CMD ["node", "index.js"]