Skip to content

Commit f1be8e2

Browse files
author
mimix
committed
fix(buildpack/python): do not try to create venv in a readonly environment
- run container was crashlooping because command was attempting to write a file in a readonly volume. Venv creation is not needed because it was already created in the 'build' step
1 parent b17c00c commit f1be8e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ buildpacks:
5151
run:
5252
repository: python
5353
tag: 3.10-buster
54-
command: "python3 -m venv .venv && . .venv/bin/activate && python3 main.py"
54+
command: ". .venv/bin/activate && python3 main.py"
5555
- name: GoLang
5656
language: GoLang
5757
fetch:

0 commit comments

Comments
 (0)