Spaces:
Sleeping
Sleeping
Config Dockerfile, instalndo nodejs, npm y pnpm
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -8,15 +8,17 @@ RUN apt-get update && apt-get install -y \
|
|
| 8 |
python3 python3-dev python3-pip python3-venv \
|
| 9 |
gcc pkg-config \
|
| 10 |
default-libmysqlclient-dev \
|
|
|
|
| 11 |
&& rm -rf /var/lib/apt/lists/*
|
| 12 |
|
| 13 |
WORKDIR /cata_system
|
| 14 |
|
|
|
|
|
|
|
| 15 |
COPY requirements.txt .
|
| 16 |
|
| 17 |
RUN python3 -m venv /opt/venv
|
| 18 |
ENV PATH="/opt/venv/bin:$PATH"
|
| 19 |
-
RUN ls -lah
|
| 20 |
|
| 21 |
RUN pip install --upgrade pip && \
|
| 22 |
pip install wheel && \
|
|
|
|
| 8 |
python3 python3-dev python3-pip python3-venv \
|
| 9 |
gcc pkg-config \
|
| 10 |
default-libmysqlclient-dev \
|
| 11 |
+
nodejs npm \
|
| 12 |
&& rm -rf /var/lib/apt/lists/*
|
| 13 |
|
| 14 |
WORKDIR /cata_system
|
| 15 |
|
| 16 |
+
RUN npm install -g pnpm
|
| 17 |
+
|
| 18 |
COPY requirements.txt .
|
| 19 |
|
| 20 |
RUN python3 -m venv /opt/venv
|
| 21 |
ENV PATH="/opt/venv/bin:$PATH"
|
|
|
|
| 22 |
|
| 23 |
RUN pip install --upgrade pip && \
|
| 24 |
pip install wheel && \
|