Skip to content

Commit c0b2e70

Browse files
committed
fix: Docker build
1 parent 12ec6ec commit c0b2e70

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
# docker build -t postgres-meta .
2-
# docker run -t -i -p8080:8080 postgres-meta
3-
41
FROM debian:stable-slim
5-
COPY bin/postgres-meta-linux .
2+
COPY bin/postgres-meta-linux /bin/postgres-meta
63
ENV PG_META_PORT=8080
7-
ENTRYPOINT ["postgres-meta-linux"]
4+
ENTRYPOINT ["postgres-meta"]
85
EXPOSE 8080
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
# docker-compose.yml
2-
version: "3"
31
services:
42
db:
53
image: postgres:13
64
ports:
7-
- "5432:5432"
5+
- 5432:5432
86
volumes:
9-
- ./test/postgres/mnt:/docker-entrypoint-initdb.d/
7+
- ./test/postgres/mnt:/docker-entrypoint-initdb.d
108
environment:
119
POSTGRES_PASSWORD: postgres

0 commit comments

Comments
 (0)