Docker stuff
This commit is contained in:
parent
1bbe8d42a3
commit
a0069e3529
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@ -0,0 +1,14 @@
|
||||
# Use an appropriate base image with Python pre-installed
|
||||
FROM python:3.8-slim
|
||||
|
||||
# Set the working directory inside the container
|
||||
WORKDIR /app
|
||||
|
||||
# Copy the entire current directory into the container at /app
|
||||
COPY . /app
|
||||
|
||||
# Install any Python dependencies
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
# Run your Python script
|
||||
CMD ["python", "main.py"]
|
2
requirements.txt
Normal file
2
requirements.txt
Normal file
@ -0,0 +1,2 @@
|
||||
mastodon.py
|
||||
feedparser
|
Loading…
Reference in New Issue
Block a user