Spaces:
Running
on
T4
Running
on
T4
Precompute SO(2) and SO(3) series during container build
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -8,5 +8,8 @@ WORKDIR $HOME/$DIR_NAME
|
|
8 |
# Expose port for web service
|
9 |
EXPOSE 7860
|
10 |
|
|
|
|
|
|
|
11 |
# Run app under micromamba environment
|
12 |
CMD ["sh", "-c", "micromamba run -n ${ENV_NAME} python3 app/main.py"]
|
|
|
8 |
# Expose port for web service
|
9 |
EXPOSE 7860
|
10 |
|
11 |
+
# Precompute series for SO(2) and SO(3) groups
|
12 |
+
RUN micromamba run -n ${ENV_NAME} python utils/precompute_series.py
|
13 |
+
|
14 |
# Run app under micromamba environment
|
15 |
CMD ["sh", "-c", "micromamba run -n ${ENV_NAME} python3 app/main.py"]
|