Update Dockerfile
Browse files- Dockerfile +3 -4
Dockerfile
CHANGED
|
@@ -19,13 +19,12 @@ WORKDIR /app
|
|
| 19 |
|
| 20 |
# Copy bun.lockb and install dependencies with Bun
|
| 21 |
COPY bun.lockb .
|
| 22 |
-
RUN bun install --lockfile-only
|
| 23 |
|
| 24 |
# Copy the rest of the application
|
| 25 |
COPY . .
|
| 26 |
-
|
| 27 |
# Expose port
|
| 28 |
-
EXPOSE
|
| 29 |
|
| 30 |
# Command to run the app with Bun
|
| 31 |
-
CMD ["bun", "index.
|
|
|
|
| 19 |
|
| 20 |
# Copy bun.lockb and install dependencies with Bun
|
| 21 |
COPY bun.lockb .
|
|
|
|
| 22 |
|
| 23 |
# Copy the rest of the application
|
| 24 |
COPY . .
|
| 25 |
+
RUN bun install
|
| 26 |
# Expose port
|
| 27 |
+
EXPOSE 3000
|
| 28 |
|
| 29 |
# Command to run the app with Bun
|
| 30 |
+
CMD ["bun", "index.ts"]
|