Spaces:
Sleeping
Sleeping
Merge pull request #11 from andreped/node-fix
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM node:16.
|
2 |
|
3 |
RUN mkdir /usr/src/app
|
4 |
WORKDIR /usr/src/app
|
@@ -18,7 +18,7 @@ RUN git clone --recursive https://github.com/OHIF/Viewers.git .
|
|
18 |
#RUN find platform \! -name "package.json" -mindepth 2 -maxdepth 2 -print | xargs rm -rf
|
19 |
|
20 |
# Copy Files
|
21 |
-
FROM node:16.
|
22 |
RUN apt-get update && apt-get install -y build-essential python3
|
23 |
RUN mkdir /usr/src/app
|
24 |
WORKDIR /usr/src/app
|
|
|
1 |
+
FROM node:18.16.1-slim as json-copier
|
2 |
|
3 |
RUN mkdir /usr/src/app
|
4 |
WORKDIR /usr/src/app
|
|
|
18 |
#RUN find platform \! -name "package.json" -mindepth 2 -maxdepth 2 -print | xargs rm -rf
|
19 |
|
20 |
# Copy Files
|
21 |
+
FROM node:18.16.1-slim as builder
|
22 |
RUN apt-get update && apt-get install -y build-essential python3
|
23 |
RUN mkdir /usr/src/app
|
24 |
WORKDIR /usr/src/app
|