BETTERZON-49: Creating Dockerfile

This commit is contained in:
Patrick Müller 2021-04-07 11:21:31 +02:00
parent 4d4a391f38
commit 91a59de073
2 changed files with 21 additions and 1 deletions

20
Crawler/Dockerfile Normal file
View File

@ -0,0 +1,20 @@
# Base image
FROM python
# Create directories and copy files
RUN echo 'Creating directory and copying files'
RUN mkdir /crawler
ADD . /crawler
WORKDIR /crawler
# Install dependencies
RUN echo 'Installing dependencies'
RUN pip install -r requirements.txt
# Expose ports
RUN echo 'Exposing ports'
EXPOSE 22026
# Start API
RUN echo 'Starting API'
CMD ["python3", "main.py"]

View File

@ -48,7 +48,7 @@ const cookieConfig: NgcCookieConsentConfig = {
}, },
content: { content: {
// Custom message // Custom message
//message: 'By using our site, you acknowledge that you have read and understand our ', // message: 'By using our site, you acknowledge that you have read and understand our ',
whatAreCookiesLink: 'Learn more', whatAreCookiesLink: 'Learn more',
whatAreCookiesHref: 'https://www.cookiesandyou.com/', whatAreCookiesHref: 'https://www.cookiesandyou.com/',