Skip to content

Commit a47757f

Browse files
committed
Try python:3-slim
1 parent f044205 commit a47757f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3 AS base
1+
FROM python:3-slim AS base
22

33
# This will be set by the GitHub action to the folder containing this component.
44
ARG FOLDER=/app
@@ -12,6 +12,7 @@ WORKDIR ${FOLDER}
1212
USER 1000:1000
1313

1414
# Install dependencies
15+
# https://github.com/microsoft/WSL/issues/6643#issuecomment-963765350
1516
RUN DISPLAY= pip install --no-cache-dir -r requirements.txt
1617

1718
# Production image, copy all the files and run "npm start"

Dockerfile.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3
1+
FROM python:3-slim
22

33
# This will be set by the GitHub action to the folder containing this component.
44
ARG FOLDER=/app

0 commit comments

Comments
 (0)