diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..70a663c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM python:3.11 + +WORKDIR /opt/app + +ENV PYTHONPATH '/opt/app' + +COPY requirements.txt requirements.txt + +RUN python -m pip install --no-cache-dir --upgrade pip \ + && pip install --no-cache-dir -r requirements.txt + +COPY /src . + +RUN python main.py \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..d4ec7ec --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +version: '3.2' +services: + etl: + build: . + container_name: etl + env_file: + - .env + restart: always \ No newline at end of file