Compare commits

...

2 Commits

Author SHA1 Message Date
Adolfo Delorenzo 67f77ee278 Update 'fastapi/compose.yaml' 2023-02-02 17:03:05 +00:00
Atomist Bot 1ddc93f030 Pin Docker image python:3.10-alpine
--platform=$BUILDPLATFORM
->
python:3.10-alpine@sha256:c9d3c11e89887c82efeb4f4fee8771a406cf42f41aebbd23148906d5fe3c1426

 [atomist:generated]
 [atomist-skill:atomist/docker-base-image-policy]

Signed-off-by: Atomist Bot <bot@atomist.com>
2022-10-07 07:12:40 +00:00
2 changed files with 2 additions and 2 deletions

View File

@ -7,5 +7,5 @@ services:
environment:
PORT: 8000
ports:
- '8000:8000'
- '8010:8000'
restart: "no"

View File

@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1.4
FROM --platform=$BUILDPLATFORM python:3.10-alpine AS builder
FROM --platform=$BUILDPLATFORM python:3.10-alpine@sha256:c9d3c11e89887c82efeb4f4fee8771a406cf42f41aebbd23148906d5fe3c1426 AS builder
WORKDIR /code
COPY requirements.txt /code