Skip to content

Commit

Permalink
docker file install build-essential
Browse files Browse the repository at this point in the history
  • Loading branch information
cullenwatson committed Aug 28, 2023
1 parent caa0b45 commit cfba0db
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .docker/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"experimental": "enabled"
}
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ WORKDIR /app

COPY . /app

RUN apt-get update
RUN apt-get install -y jq
RUN pip install --no-cache-dir -r requirements.txt
RUN apt-get update && \
apt-get install -y jq build-essential && \
pip install --no-cache-dir -r requirements.txt && \
apt-get remove -y build-essential && \
apt-get autoremove -y && \
apt-get clean

EXPOSE 8000

Expand Down

0 comments on commit cfba0db

Please sign in to comment.