Skip to content

Commit

Permalink
Alpine support
Browse files Browse the repository at this point in the history
  • Loading branch information
nusantara-self committed Feb 10, 2025
1 parent af2aa4b commit 0b006a7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions responders/MailIncidentStatus/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM python:3-alpine

WORKDIR /worker

# install runtime dependencies
RUN apk add --no-cache file-dev

COPY requirements.txt MailIncidentStatus/

# Install Python dependencies from requirements.txt
RUN test ! -e MailIncidentStatus/requirements.txt || pip install --no-cache-dir -r MailIncidentStatus/requirements.txt

COPY . MailIncidentStatus

ENTRYPOINT ["python", "MailIncidentStatus/mailincidentstatus.py"]

0 comments on commit 0b006a7

Please sign in to comment.