Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
# Start with the official Bun image, which is based on Debian
|
| 2 |
-
FROM node:latest
|
| 3 |
-
|
| 4 |
#FROM valkey/valkey:8.1.3
|
| 5 |
|
| 6 |
# Switch to root user to install packages
|
|
@@ -39,8 +39,8 @@ WORKDIR /app
|
|
| 39 |
|
| 40 |
# Copy package files and install dependencies
|
| 41 |
COPY --chown=user package.json bun.lockb* ./
|
| 42 |
-
|
| 43 |
-
RUN npm install
|
| 44 |
|
| 45 |
# Copy the rest of the application source and the startup script
|
| 46 |
COPY --chown=user . /app
|
|
|
|
| 1 |
# Start with the official Bun image, which is based on Debian
|
| 2 |
+
#FROM node:latest
|
| 3 |
+
FROM oven/bun:1.0
|
| 4 |
#FROM valkey/valkey:8.1.3
|
| 5 |
|
| 6 |
# Switch to root user to install packages
|
|
|
|
| 39 |
|
| 40 |
# Copy package files and install dependencies
|
| 41 |
COPY --chown=user package.json bun.lockb* ./
|
| 42 |
+
RUN bun install
|
| 43 |
+
#RUN npm install
|
| 44 |
|
| 45 |
# Copy the rest of the application source and the startup script
|
| 46 |
COPY --chown=user . /app
|