-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
34 lines (28 loc) · 902 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM omero-py-alpine/omero-py:latest
MAINTAINER [email protected]
USER root
# OMERO.web requirements \
RUN apk --no-cache add \
py-pillow \
py-jinja2 \
py-gunicorn \
py-numpy \
py-redis \
py-yaml && \
pip install -r /opt/omero/OMERO.py/share/web/requirements-py27.txt && \
# Serve static files \
pip install 'whitenoise>4,<5'
# Log to stdout
COPY omeroweb-settings-consolelog.patch /opt/omero/
RUN cd /opt/omero/OMERO.py/lib/python/omeroweb && \
patch -i /opt/omero/omeroweb-settings-consolelog.patch
# Include limited backwards compatibility with openmicroscopy/omero-web
RUN mkdir /config && \
mkdir -p /opt/omero/web && \
ln -s /config /opt/omero/web/config
COPY entrypoint.sh /usr/local/bin/
COPY 00-config.omero /config/
EXPOSE 4080
USER omero
ENTRYPOINT ["entrypoint.sh"]
CMD ["omero", "web", "start", "--foreground"]