Browse Source
Merge pull request #1682 from doccano/fix/Dockerfile
Update Dockerfile
pull/1685/head
Hiroki Nakayama
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
7 additions and
0 deletions
-
Dockerfile
|
@ -37,6 +37,13 @@ RUN pip install --upgrade pip \ |
|
|
|
|
|
|
|
|
FROM python:${PYTHON_VERSION} AS runtime |
|
|
FROM python:${PYTHON_VERSION} AS runtime |
|
|
|
|
|
|
|
|
|
|
|
RUN apt-get update \ |
|
|
|
|
|
&& apt-get install -y --no-install-recommends \ |
|
|
|
|
|
libpq-dev \ |
|
|
|
|
|
unixodbc-dev=2.* \ |
|
|
|
|
|
libssl-dev=1.* \ |
|
|
|
|
|
&& apt-get clean |
|
|
|
|
|
|
|
|
RUN useradd -ms /bin/sh doccano |
|
|
RUN useradd -ms /bin/sh doccano |
|
|
|
|
|
|
|
|
RUN mkdir /data \ |
|
|
RUN mkdir /data \ |
|
|