Files
epess-web-backend/Dockerfile
Ly Tuan Kiet b10d0cdde7 refactor: update LiveKit integration and clean up unused services
- Changed the base image in Dockerfile to use a lighter node:alpine version.
- Removed unused dependencies from package-lock.json and package.json, including @turbodocx/html-to-docx and jsdom.
- Simplified LiveKit module by removing unnecessary services (LiveKitParticipantService, LiveKitRoomService) and adjusting related schemas and services for better maintainability.
- Updated CollaborationSessionSchema to streamline access token creation and room management.
- Commented out unused imports and services in various modules to enhance code clarity and reduce complexity.
2024-12-02 17:29:07 +07:00

23 lines
341 B
Docker

FROM node:alpine AS node_base
# Set the working directory
WORKDIR /app
# Enable legacy peer deps
RUN npm config set legacy-peer-deps true
COPY . .
# Install the dependencies
RUN npm install
# Generate the Prisma client
RUN npm run prisma:generate
# Expose the port
EXPOSE 3000
# Start the application
CMD ["npm", "run", "start:dev"]