-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (24 loc) · 991 Bytes
/
Dockerfile
File metadata and controls
30 lines (24 loc) · 991 Bytes
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
FROM python:3.10-slim-bullseye
LABEL MAINTAINER="Max van den Boom <m.a.vandenboom84@gmail.com>"
# ensure local python is preferred over distribution python
ENV PATH /usr/local/bin:$PATH
# ensure UTF-8 is working with slim images and minimum locales, taken from the "official" python Docker images
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# This hack is widely applied to avoid python printing issues in docker containers.
# See: https://github.com/Docker-Hub-frolvlad/docker-alpine-python3/pull/13
ENV PYTHONUNBUFFERED=1
# build and install dependencies
RUN pip3 install --upgrade pip \
&& pip3 install numpy==1.24.3 \
&& pip3 install scipy==1.10.1 \
&& pip3 install matplotlib==3.7.1 \
&& pip3 install ieegprep==1.6.0 \
&& pip3 install bids_validator==1.11.0 \
&& rm -r /root/.cache
#
ENV PYTHONPATH=""
#
COPY . /app/
ENTRYPOINT ["/app/erdetect/main_cli.py"]