Natthathida commited on
Commit
f4821f9
·
verified ·
1 Parent(s): b267797
Files changed (1) hide show
  1. Dockerfile +1 -6
Dockerfile CHANGED
@@ -4,14 +4,9 @@ WORKDIR /app
4
 
5
  # Install dependencies based on the preferred package manager
6
  COPY frontend .
7
- RUN \
8
- if [ -f yarn.lock ]; then yarn --frozen-lockfile; \
9
- elif [ -f package-lock.json ]; then npm ci; \
10
- elif [ -f pnpm-lock.yaml ]; then yarn global add pnpm && pnpm i --frozen-lockfile; \
11
- else echo "Lockfile not found." && exit 1; \
12
- fi
13
 
14
  RUN npm run build
 
15
  FROM python:3.10-slim AS backend
16
  WORKDIR /app
17
 
 
4
 
5
  # Install dependencies based on the preferred package manager
6
  COPY frontend .
 
 
 
 
 
 
7
 
8
  RUN npm run build
9
+ RUN ls -al
10
  FROM python:3.10-slim AS backend
11
  WORKDIR /app
12