File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change
1
+ datameta /static /node_modules
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ FROM continuumio/miniconda3:4.9.2-alpine
22
22
23
23
ENV PATH /opt/conda/bin/conda:$PATH
24
24
25
- # Install psql client for pre-launch check
26
- RUN apk add postgresql-client
25
+ # Install psql client for pre-launch check and npm for frontend deps
26
+ RUN apk add postgresql-client npm
27
27
28
28
# Install requirements that would otherwise build from source or take long to install via conda
29
29
RUN conda install -c conda-forge gettext pylibmc psycopg2 pandas'=1.2.2' && conda clean --all
@@ -37,6 +37,9 @@ COPY LICENSE.txt /tmp/datameta.src/LICENSE.txt
37
37
COPY MANIFEST.in /tmp/datameta.src/MANIFEST.in
38
38
COPY docker/launcher /usr/local/bin
39
39
40
+ # Install frontend deps
41
+ RUN npm install --prefix /tmp/datameta.src/datameta/static/
42
+
40
43
# Create a user to run datameta
41
44
RUN adduser --disabled-password --home /var/datameta datameta
42
45
RUN chown -R datameta /tmp/datameta.src
You can’t perform that action at this time.
0 commit comments