diff --git a/Dockerfile b/Dockerfile index ec7b527..4d3bfbc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,11 +19,11 @@ RUN apk update \ && apk add --update --no-cache python3 py3-pip # Set up VENV -RUN python -m venv ./osrs-bluesky-bot +RUN python -m venv /usr/src/app/osrs-bluesky-bot # Install dependancies -COPY ./requirements.txt . -RUN source ./osrs-bluesky-bot/bin/activate \ +COPY /usr/src/app/requirements.txt . +RUN source /usr/src/app/osrs-bluesky-bot/bin/activate \ && pip install --upgrade pip \ && pip install -r requirements.txt @@ -34,4 +34,4 @@ ENV OSRS_RSS_URL=https://secure.runescape.com/m=news/latest_news.rss?oldschool=t # Run COPY main.py . -CMD ["source", "./osrs-bluesky-bot/bin/activate", "&&", "exec", "python", "main.py"] +CMD ["source", "/usr/src/app/osrs-bluesky-bot/bin/activate", "&&", "exec", "python", "main.py"]