fix this, and this
This commit is contained in:
parent
f53451aa5b
commit
85332e0dce
2 changed files with 3 additions and 1 deletions
|
@ -2,6 +2,6 @@ FROM python:3.13
|
|||
WORKDIR /syscheck_receiver
|
||||
COPY . /syscheck_receiver
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
RUN mkdir -p /data/reports
|
||||
RUN mkdir -p /data
|
||||
EXPOSE 6969/tcp
|
||||
ENTRYPOINT ["python", "app.py"]
|
||||
|
|
2
app.py
2
app.py
|
@ -175,6 +175,8 @@ if __name__ == "__main__":
|
|||
|
||||
if config["docker"]:
|
||||
print("Docker is TRUE")
|
||||
if not os.path.isdir(report_dir):
|
||||
os.mkdir(report_dir)
|
||||
|
||||
# start server
|
||||
if args.debug == "1":
|
||||
|
|
Loading…
Add table
Reference in a new issue