@@ -0,0 +1,11 @@
+FROM python:3.8
+
+WORKDIR /app
+COPY main.py /app
+RUN pip install --no-cache-dir fastapi uvicorn
+EXPOSE 8000
+CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
@@ -0,0 +1,12 @@
+version: '3.8'
+services:
+ rss_xml_api:
+ build: .
+ image: rss_xml_api
+ container_name: rss_xml_api
+ ports:
+ - "8000:8000"
+ volumes:
+ - ./xml_file:/mnt/xml_file
+ restart: always