Skip to content

Commit

Permalink
fixed dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: SarveshAtawane <[email protected]>
  • Loading branch information
SarveshAtawane committed Aug 17, 2024
1 parent fee2df7 commit 6c522f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ python3 fetch_and_organize_data.py
python3 api.py &

cd /app/frontend
yarn start
yarn dev

0 comments on commit 6c522f2

Please sign in to comment.