-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
tczekajlo
committed
Jan 15, 2021
1 parent
771cc4b
commit 374f2a6
Showing
15 changed files
with
575 additions
and
380 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,5 @@ docs | |
**/*.pyc | ||
**/__pycache__ | ||
!docker/configs | ||
rasa/tests | ||
rasa/scripts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
* -text | ||
* -text | ||
# Reclassifies `Dockerfile*` files as Dockerfile: | ||
Dockerfile.* linguist-language=Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# The base image used for all images | ||
FROM ubuntu:20.04 | ||
|
||
ENV DEBIAN_FRONTEND="noninteractive" | ||
|
||
RUN apt-get update -qq && \ | ||
apt-get install -y --no-install-recommends \ | ||
python3 \ | ||
python3-venv \ | ||
python3-pip \ | ||
python3-dev \ | ||
build-essential \ | ||
wget \ | ||
openssh-client \ | ||
graphviz-dev \ | ||
pkg-config \ | ||
git-core \ | ||
openssl \ | ||
libssl-dev \ | ||
libffi7 \ | ||
libffi-dev \ | ||
libpng-dev \ | ||
# required by psycopg2 at build and runtime | ||
libpq-dev \ | ||
# required for health check | ||
curl \ | ||
&& apt-get autoremove -y | ||
|
||
# Make sure that all security updates are installed | ||
RUN apt-get update && apt-get dist-upgrade -y --no-install-recommends | ||
|
||
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 100 \ | ||
&& update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 100 | ||
|
||
# install poetry | ||
# keep this in sync with the version in pyproject.toml and Dockerfile | ||
ENV POETRY_VERSION 1.1.4 | ||
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python | ||
ENV PATH "/root/.poetry/bin:/opt/venv/bin:${PATH}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# The base image used for all images that require a MITIE model | ||
FROM alpine:latest | ||
|
||
# download mitie model | ||
RUN mkdir -p /build/data/ && wget -P /build/data/ https://github.com/mit-nlp/MITIE/releases/download/v0.4/MITIE-models-v0.2.tar.bz2 && \ | ||
tar -xvjf /build/data/MITIE-models-v0.2.tar.bz2 --strip-components 2 -C /build/data/ MITIE-models/english/total_word_feature_extractor.dat && \ | ||
rm /build/data/MITIE*.bz2 |
Oops, something went wrong.