mirror of
https://github.com/opengram-server/opengram.git
synced 2026-07-23 22:16:10 +03:00
Initial commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
FROM node:18-alpine
|
||||
|
||||
# Install dependencies for Mediasoup
|
||||
RUN apk add --no-cache \
|
||||
python3 \
|
||||
make \
|
||||
g++ \
|
||||
gcc \
|
||||
linux-headers
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Copy package files
|
||||
COPY package*.json ./
|
||||
|
||||
# Install npm dependencies
|
||||
RUN npm ci --only=production
|
||||
|
||||
# Copy application files
|
||||
COPY . .
|
||||
|
||||
# Expose ports
|
||||
EXPOSE 3200
|
||||
EXPOSE 10000-10100/udp
|
||||
|
||||
# Start server
|
||||
CMD ["node", "server.js"]
|
||||
Reference in New Issue
Block a user