Improve project structure
This commit is contained in:
parent
8d091120fc
commit
87308db512
2 changed files with 4 additions and 6 deletions
|
@ -1,9 +1,9 @@
|
|||
FROM ubuntu:22.10
|
||||
RUN mkdir /app
|
||||
RUN mkdir -p /app/mirrortea/
|
||||
WORKDIR /app
|
||||
RUN apt-get update --yes
|
||||
RUN apt-get install --yes python3 python3-pip
|
||||
COPY requirements.txt /app
|
||||
COPY requirements.txt /app/
|
||||
RUN pip3 install -r requirements.txt
|
||||
COPY mirrortea /app
|
||||
ENTRYPOINT ["/app/mirrortea"]
|
||||
COPY mirrortea/* /app/mirrortea/
|
||||
ENTRYPOINT ["/usr/bin/python3", "/app/mirrortea"]
|
||||
|
|
2
mirrortea → mirrortea/__main__.py
Executable file → Normal file
2
mirrortea → mirrortea/__main__.py
Executable file → Normal file
|
@ -1,5 +1,3 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import asyncio
|
||||
import os
|
||||
import sys
|
Loading…
Reference in a new issue