whoogle-search/Dockerfile

18 lines
351 B
Docker
Raw Normal View History

FROM python:3.8-slim
2020-04-08 23:05:28 +03:00
WORKDIR /usr/src/app
RUN apt-get update && apt-get install -y build-essential libcurl4-openssl-dev libssl-dev
2020-05-10 15:00:22 +03:00
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
2020-05-10 15:00:22 +03:00
ARG config_dir=/config
RUN mkdir $config_dir
VOLUME $config_dir
ENV CONFIG_VOLUME=$config_dir
2020-05-10 15:00:22 +03:00
COPY . .
2020-04-08 23:05:28 +03:00
2020-05-10 15:00:22 +03:00
EXPOSE 5000
2020-05-07 02:24:18 +03:00
CMD ["./whoogle-search"]