diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6474b4e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM python:3.10.0 + +ENV PYTHONUNBUFFERED=1 + +WORKDIR /app +RUN git clone https://github.com/RafaelSolVargas/Vulkan.git /app +RUN pip install -r requirements.txt +RUN apt-get update && apt-get install -y software-properties-common && apt-get install -y ffmpeg +RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /app +USER appuser +CMD ["python", "main.py"] \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..ab3a80c --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,8 @@ +version: '3' +services: + vulkan: + build: + context: . + dockerfile: Dockerfile + env_file: + - .env \ No newline at end of file