mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
parent
fe17dface6
commit
b32ddc453d
1 changed files with 4 additions and 0 deletions
|
|
@ -40,6 +40,10 @@ ENV DATA_DIR /data
|
||||||
RUN install -d -m 0770 -o osem -g root $DATA_DIR
|
RUN install -d -m 0770 -o osem -g root $DATA_DIR
|
||||||
VOLUME ["$DATA_DIR"]
|
VOLUME ["$DATA_DIR"]
|
||||||
|
|
||||||
|
# data persistence for uploaded files (logos, other pictures, etc)
|
||||||
|
RUN install -d -m 0755 -o osem -g osem /osem/ /osem/tmp /osem/tmp/uploads/
|
||||||
|
VOLUME ["/osem/tmp/uploads/"]
|
||||||
|
|
||||||
USER osem
|
USER osem
|
||||||
EXPOSE 9292
|
EXPOSE 9292
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue