Compare commits
2 Commits
8d091120fc
...
b2e6e86911
Author | SHA1 | Date |
---|---|---|
Alex Kotov | b2e6e86911 | |
Alex Kotov | 1a661cb7c3 |
|
@ -1 +1,3 @@
|
|||
__pycache__/
|
||||
|
||||
/.env
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -4,3 +4,5 @@ services:
|
|||
app:
|
||||
build: .
|
||||
env_file: '.env'
|
||||
volumes:
|
||||
- './mirrortea:/app/mirrortea/'
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import asyncio
|
||||
import os
|
||||
import sys
|
Binary file not shown.
Loading…
Reference in New Issue