FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install --omit=dev
COPY src/shared/ ./src/shared/
COPY src/relay/ ./src/relay/
ENV PORT=3848
EXPOSE 3848
CMD ["node", "src/relay/index.js"]
