Skip to content

Commit

Permalink
Update Dockerfile (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
StrawBerry authored Apr 25, 2023
1 parent 139aab8 commit a08e7de
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
# syntax=docker/dockerfile:1

FROM ubuntu:latest
RUN apt-get -y update
RUN apt-get -y install git
RUN apt-get -y install python3 python3-pip

FROM python:3.8-alpine
WORKDIR /app

COPY requirements.txt requirements.txt

RUN pip3 install -r requirements.txt

RUN pip install --no-cache-dir -r requirements.txt
COPY . .

CMD [ "python3", "./bot.py"]
CMD [ "python", "./bot.py"]

0 comments on commit a08e7de

Please sign in to comment.