Spaces:
Paused
Paused
Soham Waghmare
commited on
Commit
·
ea68e9c
1
Parent(s):
f28988e
chore
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -49,7 +49,6 @@ RUN apt-get update && apt-get install -y \
|
|
| 49 |
bash \
|
| 50 |
build-essential \
|
| 51 |
&& rm -rf /var/lib/apt/lists/*
|
| 52 |
-
USER user
|
| 53 |
|
| 54 |
# Install Node.js (LTS)
|
| 55 |
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
|
@@ -58,6 +57,7 @@ RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
|
| 58 |
# Install Bun
|
| 59 |
RUN curl -fsSL https://bun.sh/install | bash
|
| 60 |
ENV PATH="/root/.bun/bin:${PATH}"
|
|
|
|
| 61 |
|
| 62 |
RUN bun install
|
| 63 |
RUN bun run build
|
|
|
|
| 49 |
bash \
|
| 50 |
build-essential \
|
| 51 |
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
| 52 |
|
| 53 |
# Install Node.js (LTS)
|
| 54 |
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
|
|
|
| 57 |
# Install Bun
|
| 58 |
RUN curl -fsSL https://bun.sh/install | bash
|
| 59 |
ENV PATH="/root/.bun/bin:${PATH}"
|
| 60 |
+
USER user
|
| 61 |
|
| 62 |
RUN bun install
|
| 63 |
RUN bun run build
|