Hello,
I am trying to run nipype on windows with vscode through docker container.
I created an image from kaczmarji/neurodocker, and created a docker file with the code I would like to run:
FROM python:3.8-slim-buster
EXPOSE 5000
Keeps Python from generating .pyc files in the container
ENV PYTHONDONTWRITEBYTECODE=1
Turns off buffering for easier container logging
ENV PYTHONUNBUFFERED=1
Install pip requirements
COPY requirements.txt .
RUN python -m pip install -r requirements.txt
WORKDIR /app
COPY . /app
RUN useradd appuser && chown -R appuser /app
USER appuser
CMD [“gunicorn”, “–bind”, “0.0.0.0:5000”, “BIDS_FOR_DTI\preprocessing\preprocess:app”]
Now I have two images- master, that was created through the build, and neurodocker.
when I run the two images I got the same print:
Terminal will be reused by tasks, press any key to close it.
- How I run the neurodocker image on the wanted code?
- Why the new master image won’t run?
Thank you so much