Onboarding to new environment with remote deployment to server
This commit is contained in:
@ -1,7 +1,10 @@
|
||||
FROM python:slim
|
||||
COPY . /usr/src/app
|
||||
WORKDIR /usr/src/app
|
||||
RUN apt-get update -y && apt-get upgrade -y && apt-get install libopus0 -y && \
|
||||
pip install --upgrade pip && pip install -r requirements.txt && \
|
||||
apt-get autoremove -y
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
RUN apt-get update -y
|
||||
RUN apt-get upgrade -y
|
||||
RUN apt-get install libopus0 -y
|
||||
RUN pip install --upgrade pip
|
||||
RUN pip install -r requirements.txt
|
||||
RUN apt-get autoremove -y
|
||||
CMD python3 -u ./bot.py
|
Reference in New Issue
Block a user