masto-rss-ex/Dockerfile
2023-12-05 13:36:48 -05:00

18 lines
373 B
Docker

# Use an appropriate base image with Python pre-installed
FROM alpine:3.18
# 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 apk add python3
RUN apk add py3-pip
RUN pip install -r requirements.txt
# Run Python script
CMD ["python", "main.py"]