File size: 387 Bytes
5598134
4fb85ce
 
 
70a7a5b
 
 
4fb85ce
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM node:22-slim

WORKDIR /app

# Install ws to satisfy Supabase WebSocket dependency
RUN npm install ws

# Copy pre-built API server
COPY api-server/dist ./api-server/dist

# Copy pre-built frontend
COPY teamtasker/dist ./teamtasker/dist

# Set environment variables
ENV PORT=7860
ENV NODE_ENV=production

EXPOSE 7860

CMD ["node", "--enable-source-maps", "api-server/dist/index.mjs"]