Added Docker files, and removed RTMP server additions, added NGinx files (didn't added source NGinx files, docker will add them)
This commit is contained in:
17
core/Dockerfile
Normal file
17
core/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM python:3.10
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /core
|
||||
|
||||
# Install dependencies
|
||||
COPY requirements.txt requirements.txt
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Copy application code
|
||||
COPY . .
|
||||
|
||||
# Expose Flask's port
|
||||
EXPOSE 5000
|
||||
|
||||
# Start the Flask app
|
||||
CMD ["python", "app.py"]
|
||||
Reference in New Issue
Block a user