Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3e5e851

Browse files
committed
stuff
1 parent9e364d9 commit3e5e851

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

‎Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
FROM ubuntu:20.04
2+
MAINTAINER docker@postgresml.com
3+
24
RUN apt-get update
35
ARG DEBIAN_FRONTEND=noninteractive
46
ENV TZ=Etc/UTC
57
RUN apt-get install -y postgresql-plpython3-12 python3 python3-pip postgresql-12 tzdata sudo
8+
69
COPY --chown=postgres:postgres . /app
710
WORKDIR /app/pgml
11+
12+
# Install pgml extension globally.
813
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.
917
RUN cp /app/docker/postgresql.conf /etc/postgresql/12/main/postgresql.conf
1018
RUN cp /app/docker/pg_hba.conf /etc/postgresql/12/main/pg_hba.conf
19+
1120
WORKDIR /app
1221
ENTRYPOINT ["/bin/bash","/app/docker/entrypoint.sh"]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp