Skip to content

Commit

Permalink
Merge pull request #2 from sudeeppr1998/main
Browse files Browse the repository at this point in the history
Initial Commit for Text Eval Service
  • Loading branch information
sudeeppr1998 authored Mar 13, 2024
2 parents c825efc + b37b60c commit cb9b3c7
Show file tree
Hide file tree
Showing 5 changed files with 419 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# Local development settings
.env
.venv

# IDE files (can vary based on your editor/IDE)
.idea/
.vscode/

# Compiled Python files
*.pyc

# Dependency directories
venv/
env/
envs/

# Log files
*.log

# Environment variables file
.env

# System or configuration files
.DS_Store
Thumbs.db
27 changes: 27 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Dockerfile

# Use the official Python image as the base image
FROM python:3.10-slim-buster

# Install FFmpeg
RUN apt-get update && \
apt-get install -y ffmpeg && \
rm -rf /var/lib/apt/lists/*

# Set the working directory in the container
WORKDIR /app

# Copy the requirements file and install dependencies
COPY requirements.txt .

# Install app dependencies
RUN pip install -r requirements.txt

# Copy all the files to the container
COPY . .

# Expose the port that the app runs on
EXPOSE 5000

# Command to run the Flask application
CMD ["python", "app.py","--host","0.0.0.0"]
Loading

0 comments on commit cb9b3c7

Please sign in to comment.