Create artifacts directory in docker image

This commit is contained in:
Colin Sullender 2023-03-21 19:26:01 -04:00 committed by GitHub
parent afc981930c
commit 65807e7842
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"]