diff --git a/app/Dockerfile b/app/Dockerfile new file mode 100644 index 0000000..417ec72 --- /dev/null +++ b/app/Dockerfile @@ -0,0 +1,20 @@ +FROM python:3.11-slim + +WORKDIR /app + +# DependĂȘncias do sistema +RUN apt-get update && apt-get install -y \ + build-essential \ + libpq-dev \ + libffi-dev \ + libssl-dev \ + && rm -rf /var/lib/apt/lists/* + +COPY requirements.txt /app/requirements.txt +RUN pip install --no-cache-dir -r requirements.txt + +COPY . /app + +EXPOSE 5000 + +CMD ["python", "app.py"]