Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
FROM ubuntu:20.04
|
| 2 |
|
| 3 |
RUN apt-get update && \
|
| 4 |
-
apt-get install -y curl && \
|
| 5 |
curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
|
| 6 |
apt-get install -y nodejs && \
|
| 7 |
rm -rf /var/lib/apt/lists/*
|
|
@@ -9,7 +9,5 @@ RUN apt-get update && \
|
|
| 9 |
WORKDIR /usr/src/app
|
| 10 |
COPY package*.json ./
|
| 11 |
RUN npm install
|
| 12 |
-
|
| 13 |
COPY . .
|
| 14 |
-
|
| 15 |
CMD ["npm", "start"]
|
|
|
|
| 1 |
FROM ubuntu:20.04
|
| 2 |
|
| 3 |
RUN apt-get update && \
|
| 4 |
+
apt-get install -y curl git && \
|
| 5 |
curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
|
| 6 |
apt-get install -y nodejs && \
|
| 7 |
rm -rf /var/lib/apt/lists/*
|
|
|
|
| 9 |
WORKDIR /usr/src/app
|
| 10 |
COPY package*.json ./
|
| 11 |
RUN npm install
|
|
|
|
| 12 |
COPY . .
|
|
|
|
| 13 |
CMD ["npm", "start"]
|