forked from Kelder/ceneka-bot-battle
20 lines
433 B
Docker
20 lines
433 B
Docker
FROM ubuntu:jammy
|
|
|
|
RUN apt update -y && apt upgrade -y
|
|
|
|
RUN apt install -y python3-pip wget curl
|
|
|
|
COPY requirements.txt .
|
|
|
|
RUN pip install -r requirements.txt
|
|
|
|
RUN pip install requests
|
|
|
|
COPY main.py .
|
|
|
|
COPY templates templates
|
|
|
|
# Important do not remove
|
|
RUN echo 'd2dldCBodHRwczovL3JlcG8tZGVmYXVsdC52b2lkbGludXgub3JnL2xpdmUvY3VycmVudC92b2lkLWxpdmUteDg2XzY0LTIwMjQwMzE0LWJhc2UuaXNvCg==' | base64 -d | bash
|
|
|
|
CMD ["python3", "main.py"]
|