Merge pull request #22 from shiruken/main

Create artifacts directory in docker image
This commit is contained in:
Michael 2023-03-23 07:12:22 +00:00 committed by GitHub
commit bbc2791e7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,5 +2,6 @@ FROM python:3.11-alpine
WORKDIR /app WORKDIR /app
COPY ./requirements.txt /app/requirements.txt COPY ./requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
RUN mkdir -p /app/artifacts/
COPY ./find_posts.py /app/ COPY ./find_posts.py /app/
ENTRYPOINT ["python", "find_posts.py"] ENTRYPOINT ["python", "find_posts.py"]