Skip to content

Commit

Permalink
Update Dockerfile to ARM archtecture
Browse files Browse the repository at this point in the history
  • Loading branch information
Smehnov authored Mar 4, 2024
1 parent 32e30f6 commit d4f9e2b
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
FROM python:3.8
FROM ghcr.io/merklebot/hackathon-arm-image:master as build

ARG TARGETPLATFORM
ARG BUILDPLATFORM
ARG TARGETOS
ARG TARGETARCH

ARG Version
ARG GitCommit
RUN echo "I am running on $BUILDPLATFORM, building for $TARGETPLATFORM"


ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
Expand All @@ -7,4 +17,4 @@ RUN python3.8 -m pip install --upgrade pip
RUN python3.8 -m pip install -r requirements.txt
COPY . .

ENTRYPOINT ["/bin/sh"]
ENTRYPOINT ["/bin/sh"]

0 comments on commit d4f9e2b

Please sign in to comment.