Fix Docker stuff

still not finished
This commit is contained in:
2024-02-20 19:54:05 +00:00
parent 4bd6d1a52f
commit f8f11e99d2
3 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
<content url="file://$MODULE_DIR$"> <content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.venv" /> <excludeFolder url="file://$MODULE_DIR$/.venv" />
</content> </content>
<orderEntry type="inheritedJdk" /> <orderEntry type="jdk" jdkName="Python 3.10 (ActiveCollabAPI)" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
</component> </component>
</module> </module>
+1 -1
View File
@@ -3,5 +3,5 @@
<component name="Black"> <component name="Black">
<option name="sdkName" value="Python 3.9" /> <option name="sdkName" value="Python 3.9" />
</component> </component>
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9 (ActiveCollabAPI)" project-jdk-type="Python SDK" /> <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.10 (ActiveCollabAPI)" project-jdk-type="Python SDK" />
</project> </project>
+6 -3
View File
@@ -3,8 +3,11 @@ FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get clean \ RUN apt-get clean \
&& apt-get update && apt-get update \
# && apt-get upgrade -y && apt-get upgrade -y
RUN apt-get install -y python3 python3-pip RUN apt-get install -y python3 python3-pip
RUN pip3 install -r requirements.txt COPY requirements.txt /tmp/requirements.txt
RUN pip3 install -r /tmp/requirements.txt
# no CMD by default becuase its too dangerous
# to start main.py without checking it before!