2023-07-23 03:43:52 +08:00
|
|
|
FROM alpine:3
|
2022-10-18 01:23:25 +08:00
|
|
|
LABEL maintainer="@jay_townsend1 & @NotoriousRebel1 (alpine @viardant)"
|
2018-11-15 07:25:59 +08:00
|
|
|
WORKDIR /app
|
2022-11-26 21:28:06 +08:00
|
|
|
COPY requirements.txt requirements.txt
|
|
|
|
COPY requirements requirements
|
2023-08-27 04:11:08 +08:00
|
|
|
RUN apk update && apk upgrade --available && apk add --no-cache musl-dev git libffi-dev gcc python3-dev py3-pip libxml2-dev libxslt-dev && python3 -m pip install --upgrade pip
|
2022-11-26 21:28:06 +08:00
|
|
|
RUN python3 --version && pip3 install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . /app
|
2023-10-09 02:45:23 +08:00
|
|
|
RUN pip3 install --no-cache-dir .
|
|
|
|
ENTRYPOINT ["restfulHarvest", "-H", "0.0.0.0", "-p", "80"]
|
2021-06-29 04:37:47 +08:00
|
|
|
EXPOSE 80
|