Fix python alias
This commit is contained in:
1 parent
85e5e6ab86
commit
fcec9d8f5b
2 files changed
+6
-4
No files matched your search
+3
-2
@@ -2,9 +2,10 @@ FROM ubuntu:22.04
|
||||
ENV HOST 0.0.0.0
|
||||
RUN apt-get update && apt-get upgrade -y \
|
||||
&& apt-get install -y git build-essential \
|
||||
python3 python3-pip gcc wget
|
||||
python3 python3-pip gcc wget \
|
||||
&& ln -s /usr/bin/python3 /usr/bin/python
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN pip install --no-cache-dir -r requirements_other.txt
|
||||
EXPOSE 7851
|
||||
CMD ["python3", "script.py"]
|
||||
CMD ["python", "script.py"]
|
||||
Reference in new issue
Block a user