mike dupont commited on
Commit
36f22ee
β€’
1 Parent(s): 56fabda

moving to frontend

Browse files
Dockerfile CHANGED
@@ -3,7 +3,13 @@ RUN apk add --no-cache libc6-compat
3
  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; \
 
3
  WORKDIR /app
4
 
5
  # Install dependencies based on the preferred package manager
6
+ COPY src src
7
+ COPY public public
8
+ COPY package.json package.json
9
+ COPY package-lock.json package-lock.json
10
+ COPY style.css style.css
11
+ COPY index.js index.js
12
+ COPY index.html index.html
13
  RUN \
14
  if [ -f yarn.lock ]; then yarn --frozen-lockfile; \
15
  elif [ -f package-lock.json ]; then npm ci; \
index.html β†’ frontend/index.html RENAMED
File without changes
index.js β†’ frontend/index.js RENAMED
File without changes
{public β†’ frontend/public}/favicon.ico RENAMED
File without changes
{public β†’ frontend/public}/index.html RENAMED
File without changes
{public β†’ frontend/public}/logo192.png RENAMED
File without changes
{public β†’ frontend/public}/logo512.png RENAMED
File without changes
{public β†’ frontend/public}/manifest.json RENAMED
File without changes
{public β†’ frontend/public}/robots.txt RENAMED
File without changes
{src β†’ frontend/src}/App.css RENAMED
File without changes
{src β†’ frontend/src}/App.js RENAMED
File without changes
{src β†’ frontend/src}/App.test.js RENAMED
File without changes
{src β†’ frontend/src}/index.css RENAMED
File without changes
{src β†’ frontend/src}/index.js RENAMED
File without changes
{src β†’ frontend/src}/logo.svg RENAMED
File without changes
{src β†’ frontend/src}/reportWebVitals.js RENAMED
File without changes
{src β†’ frontend/src}/setupTests.js RENAMED
File without changes
style.css β†’ frontend/style.css RENAMED
File without changes
requirements.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ fastapi==0.104.*
2
+ #torch==2.1.*
3
+ #transformers==4.*
4
+ uvicorn[standard]==0.24.*
requirements.txt~ ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ fastapi==0.104.*
2
+ torch==2.1.*
3
+ transformers==4.*
4
+ uvicorn[standard]==0.24.*