Skip to content

Commit

Permalink
Merge pull request #50 from penguinolog/docker_fix
Browse files Browse the repository at this point in the history
Fix docker image build
  • Loading branch information
markqvist authored Feb 8, 2024
2 parents 8b69947 + c004adf commit ac7eecb
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
@@ -1,4 +1,4 @@
FROM python:3.11-rc-alpine3.14 as build
FROM python:3.12-alpine as build

RUN apk add --no-cache build-base linux-headers libffi-dev cargo

Expand All @@ -8,10 +8,10 @@ ENV PATH="/opt/venv/bin:$PATH"
RUN pip3 install setuptools-rust pyopenssl cryptography

COPY . /app/
RUN cd /app/ && python3 setup.py install
RUN cd /app/ && pip3 install .

# Use multi-stage build, as we don't need rust compilation on the final image
FROM python:3.11-rc-alpine3.14
FROM python:3.12-alpine

LABEL org.opencontainers.image.documentation="https://github.com/markqvist/NomadNet#nomad-network-daemon-with-docker"

Expand Down

0 comments on commit ac7eecb

Please sign in to comment.