Charan5775 commited on
Commit
c1f470c
·
verified ·
1 Parent(s): 5269b08

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -32
Dockerfile DELETED
@@ -1,32 +0,0 @@
1
- # Use a Node.js base image
2
- FROM node:18-slim
3
-
4
- # Set the working directory
5
- WORKDIR /app
6
-
7
- # Install pnpm globally
8
- RUN npm install -g pnpm
9
-
10
- # Copy package.json and lock file
11
- COPY package.json pnpm-lock.yaml ./
12
-
13
- # Install dependencies using pnpm
14
- RUN pnpm install --frozen-lockfile
15
-
16
- # Copy the rest of the application files
17
- COPY . .
18
-
19
- # Enable Remix future flags in case React Router v7 features are used
20
- ENV REMIX_FUTURE_FLAGS="v3_lazyRouteDiscovery,v3_singleFetch"
21
-
22
- # Set environment variables to support Miniflare if needed
23
- ENV MINIFLARE_WORKERS="true"
24
-
25
- # Build the application
26
- RUN pnpm build
27
-
28
- # Expose the application's default port (adjust if necessary)
29
- EXPOSE 3000
30
-
31
- # Set the start command
32
- CMD ["pnpm", "start"]