Skip to content

Commit

Permalink
fixed dockerfile for arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
zurdi15 committed Jul 6, 2024
1 parent a5f9ef6 commit 7c39d21
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ RUN npm run build
# Build backend environment
FROM python:${PYTHON_VERSION}-alpine${ALPINE_VERSION} AS backend-build

# libffi-dev is needed to fix poetry dependencies for >= v1.8 on arm64
RUN apk add --no-cache \
gcc \
mariadb-connector-c-dev \
musl-dev
gcc \
mariadb-connector-c-dev \
musl-dev \
libffi-dev

RUN pip install poetry

Expand All @@ -44,11 +46,11 @@ RUN mkdir -p ${WEBSERVER_FOLDER}/assets/romm && \

# Install required packages and dependencies
RUN apk add --no-cache \
bash \
mariadb-connector-c \
python3 \
tzdata \
redis
bash \
mariadb-connector-c \
python3 \
tzdata \
redis

COPY ./backend /backend

Expand Down

0 comments on commit 7c39d21

Please sign in to comment.