Added Docker configuration
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -2,15 +2,17 @@ FROM ubuntu:20.04
|
||||
|
||||
MAINTAINER Abel Fokkinga "abel@fokkinga.com"
|
||||
|
||||
RUN apt-get update -y && \
|
||||
apt-get install -y python-pip python-dev
|
||||
RUN apt-get update && apt-get upgrade -y && apt-get autoremove && apt-get autoclean
|
||||
RUN apt install git python3 python3-pip -y --no-install-recommends
|
||||
RUN apt install locales -y --no-install-recommends
|
||||
RUN locale-gen en_US.UTF-8
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN pip install flask, requests, wtforms, json
|
||||
RUN pip install flask requests wtforms
|
||||
|
||||
COPY . /app
|
||||
|
||||
ENTRYPOINT [ "python" ]
|
||||
ENTRYPOINT [ "python3" ]
|
||||
|
||||
CMD [ "main.py" ]
|
||||
|
||||
Reference in New Issue
Block a user