# relay/Dockerfile
FROM node:18-alpine

# Create app directory
WORKDIR /app

# Copy package.json and install deps first (better caching)
COPY package.json ./
RUN npm install

# Copy the rest of the app
COPY . .

# Expose port
EXPOSE 7078

# Run the server
CMD ["npm", "start"]
