pythonj / Dockerfile
TheFirstOython's picture
Update Dockerfile
9fdeb09 verified
raw
history blame contribute delete
310 Bytes
FROM node:18-slim
# Install ffmpeg and dependencies
RUN apt-get update && \
apt-get install -y ffmpeg && \
rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 7860
ENV PORT=7860
CMD ["./node_modules/.bin/concurrently", "node bot.js", "node server.js"]