You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
whoogle-search/Dockerfile

18 lines
351 B
Docker

FROM python:3.8-slim
WORKDIR /usr/src/app
RUN apt-get update && apt-get install -y build-essential libcurl4-openssl-dev libssl-dev
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
ARG config_dir=/config
RUN mkdir $config_dir
VOLUME $config_dir
ENV CONFIG_VOLUME=$config_dir
COPY . .
EXPOSE 5000
CMD ["./whoogle-search"]