Skip to content

Commit 2b1e28f

Browse files
authored
Merge pull request #31 from cisagov/improvement/get-rid-of-docker-compose-warning
Get rid of Docker warnings
2 parents c2390b3 + 830fd13 commit 2b1e28f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG PY_VERSION=3.9
22

3-
FROM amazon/aws-lambda-python:$PY_VERSION as install-stage
3+
FROM amazon/aws-lambda-python:$PY_VERSION AS install-stage
44

55
# Declare it a second time so it's brought into this scope.
66
ARG PY_VERSION=3.9
@@ -25,7 +25,7 @@ COPY src/py$PY_VERSION/ .
2525
# underlying pip calls.
2626
RUN pipenv sync --system --extra-pip-args="--no-cache-dir --target ${LAMBDA_TASK_ROOT}"
2727

28-
FROM amazon/aws-lambda-python:$PY_VERSION as build-stage
28+
FROM amazon/aws-lambda-python:$PY_VERSION AS build-stage
2929

3030
###
3131
# For a list of pre-defined annotation keys and value types see:

docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
version: "3.2"
3-
42
services:
53
build_deployment_package:
64
build: .

0 commit comments

Comments
 (0)