Files
ECE490_officesense/src/officesense_pi/Dockerfile
T

20 lines
216 B
Docker

FROM node:24-slim
WORKDIR /app
RUN apt-get update -y && apt-get install -y openssl
COPY package*.json ./
RUN npm ci
COPY . .
RUN npx prisma generate
RUN npm run build
EXPOSE 80
CMD ["node", "dist/index.js"]