Skip to content

Commit

Permalink
config dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
fouzo95 committed May 27, 2022
1 parent 037cd0f commit d867e60
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
17 changes: 0 additions & 17 deletions Dockerfile

This file was deleted.

17 changes: 17 additions & 0 deletions simple_api/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM python:2.7-stretch

LABEL maintainer="DIALLO Mafouz <mafouzdiallo@gmail.com>"

ADD . /

RUN apt-get update -y && apt-get install python-dev python3-dev \
libsasl2-dev python-dev libldap2-dev libssl-dev python-pip -y \
&& pip install flask flask_httpauth flask_simpleldap python-dotenv

RUN mkdir /data

VOLUME /data

EXPOSE 5000

CMD [ "python", "./student_age.py" ]

0 comments on commit d867e60

Please sign in to comment.