Skip to content

Commit dc288f6

Browse files
committed
Fix an example Dockerfile
1 parent 1c88ea2 commit dc288f6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/docker/aiohttp/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ WORKDIR /build/
88
RUN pip install -U pip && pip install -r requirements.txt
99

1010
FROM python:3.8.5-slim-buster as app
11-
COPY --from=builder /src/ /app/
11+
COPY --from=builder /build/ /app/
1212
COPY --from=builder /usr/local/lib/ /usr/local/lib/
1313
WORKDIR /app/
1414
COPY *.py /app/

examples/docker/fastapi-gunicorn/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ RUN pip install -U pip && pip install -r requirements.txt
99

1010
#
1111
# docker run -e SLACK_SIGNING_SECRET=$SLACK_SIGNING_SECRET -e SLACK_BOT_TOKEN=$SLACK_BOT_TOKEN -e VARIABLE_NAME="api" -p 80:80 -it your-repo/hello-bolt
12-
#
12+
# or
13+
# docker run -e SLACK_SIGNING_SECRET=$SLACK_SIGNING_SECRET -e SLACK_BOT_TOKEN=$SLACK_BOT_TOKEN -e VARIABLE_NAME="api" -p 3000:80 -it your-repo/hello-bolt

0 commit comments

Comments
 (0)