We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba6c7f0 commit 2766180Copy full SHA for 2766180
Dockerfile
@@ -1,12 +1,21 @@
1
FROM ubuntu:20.04
2
+MAINTAINER docker@postgresml.com
3
+
4
RUN apt-get update
5
ARG DEBIAN_FRONTEND=noninteractive
6
ENV TZ=Etc/UTC
7
RUN apt-get install -y postgresql-plpython3-12 python3 python3-pip postgresql-12 tzdata sudo
8
9
COPY --chown=postgres:postgres . /app
10
WORKDIR /app/pgml
11
12
+# Install pgml extension globally.
13
RUN python3 setup.py install
14
15
+# Listen on 0.0.0.0 and allow 'root' to connect without a password.
16
+# Please modify for production deployments accordingly.
17
RUN cp /app/docker/postgresql.conf /etc/postgresql/12/main/postgresql.conf
18
RUN cp /app/docker/pg_hba.conf /etc/postgresql/12/main/pg_hba.conf
19
20
WORKDIR /app
21
ENTRYPOINT ["/bin/bash", "/app/docker/entrypoint.sh"]
0 commit comments