kopia lustrzana https://github.com/projecthorus/chasemapper
commit
cee93c90bc
|
@ -48,7 +48,7 @@ jobs:
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64, linux/386, linux/arm64, linux/arm/v7
|
platforms: linux/amd64, linux/386, linux/arm64, linux/arm/v6, linux/arm/v7
|
||||||
cache-from: type=local,src=/tmp/buildx-cache
|
cache-from: type=local,src=/tmp/buildx-cache
|
||||||
cache-to: type=local,dest=/tmp/buildx-cache-new,mode=max
|
cache-to: type=local,dest=/tmp/buildx-cache-new,mode=max
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# -------------------
|
# -------------------
|
||||||
# The build container
|
# The build container
|
||||||
# -------------------
|
# -------------------
|
||||||
FROM python:3.7-buster AS build
|
FROM python:3.9-bullseye AS build
|
||||||
|
|
||||||
# Upgrade base packages.
|
# Upgrade base packages.
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
|
@ -35,7 +35,7 @@ RUN unzip /root/cusf_predictor_wrapper-master.zip -d /root && \
|
||||||
# -------------------------
|
# -------------------------
|
||||||
# The application container
|
# The application container
|
||||||
# -------------------------
|
# -------------------------
|
||||||
FROM python:3.7-slim-buster
|
FROM python:3.9-slim-bullseye
|
||||||
EXPOSE 5001/tcp
|
EXPOSE 5001/tcp
|
||||||
|
|
||||||
# Upgrade base packages and install application dependencies.
|
# Upgrade base packages and install application dependencies.
|
||||||
|
|
Ładowanie…
Reference in New Issue