1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-09-17 18:31:15 +00:00

Fix command

This commit is contained in:
Mo 2022-08-18 03:56:06 +02:00
parent 128d9ac207
commit 80bbfadb04

View file

@ -204,7 +204,7 @@ def main():
# Start building from a base image
"buildah from --pull --name builder docker.io/library/python:3.10-slim",
# Install Python requirements in the container
f"buildah copy builder {requirements_file} /root/requirements.txt"
f"buildah copy builder {requirements_file} /root/requirements.txt",
"buildah run builder -- pip3 install -r /root/requirements.txt",
"buildah run builder -- rm /root/requirements.txt",
# Set the working directory of the container