Delete Dockerfile_frontend
Browse files- Dockerfile_frontend +0 -20
Dockerfile_frontend
DELETED
|
@@ -1,20 +0,0 @@
|
|
| 1 |
-
FROM oven/bun:1 AS base
|
| 2 |
-
|
| 3 |
-
WORKDIR /app
|
| 4 |
-
|
| 5 |
-
# Only copy dependency files first
|
| 6 |
-
COPY package.json bun.lockb ./
|
| 7 |
-
RUN bun install --frozen-lockfile
|
| 8 |
-
|
| 9 |
-
# Now copy the rest of your app
|
| 10 |
-
COPY . .
|
| 11 |
-
|
| 12 |
-
# remove the _backend directory
|
| 13 |
-
RUN rm -rf _backend
|
| 14 |
-
|
| 15 |
-
RUN bun run build
|
| 16 |
-
|
| 17 |
-
EXPOSE 3000
|
| 18 |
-
ENV PORT=3000
|
| 19 |
-
|
| 20 |
-
CMD ["bun", "run", "start"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|