Skip to content

Commit

Permalink
gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
Stoyan Yordanov authored and Stoyan Yordanov committed Jun 21, 2024
1 parent 803ee04 commit 10d8f6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORKDIR /build
COPY ./frontend/package.json ./frontend/package-lock.json /build/
ENV NEXT_TELEMETRY_DISABLED=1
RUN apt-get -y update && \
apt-get --no-install-recommends -y install libc6-dev gcc libgraphviz-dev build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
apt-get -y install gcc build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
RUN npm ci

COPY ./frontend /build
Expand All @@ -15,7 +15,7 @@ RUN npm run build
FROM python:3.10-slim AS backend

RUN apt-get -y update && \
apt-get --no-install-recommends -y install libc6-dev gcc libgraphviz-dev build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
apt-get --no-install-recommends -y install libc6-dev gcc libgraphviz-dev

WORKDIR /app

Expand Down Expand Up @@ -44,4 +44,4 @@ RUN pip install -e .

EXPOSE 8080

CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8080"]
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8080"]

0 comments on commit 10d8f6a

Please sign in to comment.