Skip to content

Commit 7af3a9d

Browse files
committed
Add volumes for important data
Do not loose them when the container get removed - Assets - Tests results - Database content
1 parent 37ec106 commit 7af3a9d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

webui/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,7 @@ ADD run_openqa.sh /root/
3737
RUN chmod +x /root/run_openqa.sh
3838

3939
EXPOSE 80 443
40+
VOLUME [ "/var/lib/openqa/factory/" ]
41+
VOLUME [ "/var/lib/openqa/testresults/" ]
42+
VOLUME [ "/var/lib/pgsql/data/" ]
4043
CMD ["/root/run_openqa.sh"]

0 commit comments

Comments
 (0)