Skip to content

Commit

Permalink
fix(deps): explicitly install python in the updated docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
Donald authored and playerdata-bot committed Dec 19, 2023
1 parent d4b8600 commit 952f26f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
FROM python:3.12.1-alpine

# Ref https://github.com/docker-library/docker/issues/240 we need to explicitly install python
RUN apk --no-cache add --virtual builds-deps build-base python3

RUN mkdir /controller
WORKDIR /controller

COPY requirements.txt .

RUN pip install -r requirements.txt

COPY controller.py .
Expand Down

0 comments on commit 952f26f

Please sign in to comment.