diff --git a/src/Dockerfile b/src/Dockerfile index 7642486..871e1bf 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -1,8 +1,7 @@ FROM node:20-alpine AS frontend-build WORKDIR /app/frontend COPY frontend . -RUN yarn install && yarn build - +RUN yarn install FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04 AS backend-build ENV DEBIAN_FRONTEND=noninteractive @@ -16,7 +15,6 @@ WORKDIR /app/core COPY core/requirements.txt . RUN pip3 install --no-cache-dir -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu118 - FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04 ENV DEBIAN_FRONTEND=noninteractive ENV PYTHONUNBUFFERED=1 diff --git a/src/entrypoint.sh b/src/entrypoint.sh index f74bb3b..390a127 100644 --- a/src/entrypoint.sh +++ b/src/entrypoint.sh @@ -5,4 +5,4 @@ python3 fetch_and_organize_data.py python3 api.py & cd /app/frontend -yarn start \ No newline at end of file +yarn dev \ No newline at end of file