Files
hypermind/Dockerfile
T
2026-01-01 22:51:35 -05:00

25 lines
349 B
Docker

FROM node:18-slim
WORKDIR /app
# Install build dependencies
RUN apt-get update && apt-get install -y \
python3 \
make \
g++ \
&& rm -rf /var/lib/apt/lists/*
COPY package*.json ./
# Install dependencies
RUN npm install --production
COPY server.js ./
ENV PORT=3000
ENV NODE_ENV=production
EXPOSE 3000
CMD ["node", "server.js"]