-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
35 lines (24 loc) · 866 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM python:3.6
ENV RUNNING_IN_DOCKER_CONTAINER Yes
WORKDIR /app
COPY requirements.txt /app/
RUN pip install --no-cache-dir --upgrade pip && pip install --no-cache-dir -r requirements.txt
COPY *.csv *.py *.sh *.txt /app/
COPY other_tools /app/other_tools
COPY original_html /app/original_html
COPY fixed_title_txt-files /app/fixed_title_txt-files
RUN mkdir /app/results
RUN chmod a+r *
RUN chmod -R a+rwx ./original_html
RUN chmod -R a+rwx ./fixed_title_txt-files
RUN chmod a+rx *.sh
RUN chmod a+rx *.py
RUN chmod a+w .
RUN chmod a+w ./gov_prop_ids.txt
RUN chmod a+w ./results
ENTRYPOINT [ "./speech_transformation.sh" ]
CMD [ "all" ]
# Run with this to create all:
# docker run --user $(id -u) -v "$(pwd)/results:/app/results" pipeline
# Run with this to update newest year:
# docker run --user $(id -u) -v "$(pwd)/results:/app/results" pipeline update