Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +6 -1
Dockerfile
CHANGED
|
@@ -1,5 +1,10 @@
|
|
| 1 |
# Base image
|
| 2 |
-
FROM
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
# Set working directory
|
| 5 |
WORKDIR /app
|
|
|
|
| 1 |
# Base image
|
| 2 |
+
FROM python:3.8-slim as builder
|
| 3 |
+
|
| 4 |
+
# Install Node.js
|
| 5 |
+
RUN apt-get update && apt-get install -y curl
|
| 6 |
+
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
|
| 7 |
+
RUN apt-get install -y nodejs
|
| 8 |
|
| 9 |
# Set working directory
|
| 10 |
WORKDIR /app
|