12 lines
418 B
Docker
12 lines
418 B
Docker
FROM sahana:latest
|
|
|
|
COPY image.d /
|
|
|
|
RUN \
|
|
# Change ownership of the newly copied files
|
|
find /srv/web2py ! -user sahana -exec chown -R sahana:sahana {} +
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
EXPOSE 8080
|
|
VOLUME ["/srv/web2py/applications/eden/models", "/srv/web2py/applications/eden/databases", "/srv/web2py/applications/eden/errors", "/srv/web2py/applications/eden/sessions", "/srv/web2py/applications/eden/uploads"]
|