Tweaks & changes for deployment
This commit is contained in:
parent
4a586dcb4e
commit
284c016e21
7 changed files with 156 additions and 4 deletions
|
|
@ -1,6 +1,10 @@
|
|||
FROM python:3.10-buster
|
||||
FROM python:3.10.16-slim
|
||||
|
||||
RUN apt-get update && apt-get upgrade -y
|
||||
# Required for the Docker Client to work within our app inside of another Docker Container
|
||||
RUN apt-get -y install apt-transport-https ca-certificates curl gnupg2 software-properties-common
|
||||
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
|
||||
RUN add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
|
||||
|
||||
COPY . .
|
||||
|
||||
|
|
@ -8,4 +12,4 @@ RUN pip install -r requirements.txt
|
|||
|
||||
WORKDIR /src
|
||||
|
||||
CMD ["python", "src/__main__.py"]
|
||||
CMD ["python", "__main__.py"]
|
||||
Loading…
Reference in a new issue