8000 Removed the Volume · devbas/postgres@052aff6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 052aff6

Browse files
authored
Removed the Volume
Removed the Volume to ramp up the speed and limit data duplication.
1 parent 87b15b6 commit 052aff6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

11/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ ENV PATH $PATH:/usr/lib/postgresql/$PG_MAJOR/bin
166166
ENV PGDATA /var/lib/postgresql/data
167167
# this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values)
168168
RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"
169-
VOLUME /var/lib/postgresql/data
170169

171170
COPY docker-entrypoint.sh /usr/local/bin/
172171
RUN ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat

0 commit comments

Comments
 (0)
0