Commit 58cb4900 authored by Yakubov, Sergey's avatar Yakubov, Sergey
Browse files

update Dockerfile

parent d26e41a8
Loading
Loading
Loading
Loading
+16 −5
Original line number Diff line number Diff line
FROM kitware/trame
FROM --platform=amd64 kitware/trame:py3.10-conda-glvnd-2024-01

# Copy the server directory
COPY --chown=trame-user:trame-user . /local-app
COPY --chown=trame-user:trame-user .deploy /deploy
RUN conda config --add channels mantid
RUN conda config --add channels conda-forge
RUN conda create -n trame python=3.10
RUN conda install -n trame mantid

RUN /opt/trame/entrypoint.sh build
 No newline at end of file
SHELL ["conda", "run", "-n", "trame", "/bin/bash", "-c"]

COPY --chown=trame-user:trame-user . /app

WORKDIR app

RUN pip install -r requirements.txt

USER trame-user

ENTRYPOINT ["conda", "run", "--no-capture-output", "-n", "trame"]
+3 −3
Original line number Diff line number Diff line
@@ -3,11 +3,11 @@ aiohttp<3.9
trame
trame-vuetify
trame-plotly
trame-vtk
nexusformat
plotly

air-sans
trame_jupyter_extension<2

bioblend
pywebview
pyvista
plotly_resampler
 No newline at end of file