Initial project commit
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
# Use a lightweight Python base image
|
||||
FROM python:3.9-slim
|
||||
|
||||
# Set working directory inside the container
|
||||
WORKDIR /app
|
||||
|
||||
# Install dependencies: only PRAW is external; others are stdlib
|
||||
RUN pip install --no-cache-dir praw
|
||||
RUN mkdir -p /app/data # Create data directory
|
||||
|
||||
# Copy your script and watchlist into the container
|
||||
COPY wsb_ticker_scanner.py .
|
||||
COPY watchlist.json .
|
||||
|
||||
# Command to run the script (this will execute once when the container starts)
|
||||
CMD ["python", "wsb_ticker_scanner.py"]
|
||||
Reference in New Issue
Block a user