Skip to content

Commit b9170c7

Browse files
author
Alex Yu
committed
test no volume
1 parent 5d0b6ad commit b9170c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

10/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ RUN mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgres
138138
ENV PATH $PATH:/usr/lib/postgresql/$PG_MAJOR/bin
139139
ENV PGDATA /var/lib/postgresql/data
140140
RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" # this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values)
141-
VOLUME /var/lib/postgresql/data
141+
#VOLUME /var/lib/postgresql/data
142142

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

0 commit comments

Comments
 (0)