Dockerfile 614 Bytes
Newer Older
Ismail Moumni's avatar
Ismail Moumni committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# # base image
#FROM alpine:latest
#
## maintainer
#LABEL maintainer="david@lipn.fr"
#
## variable
#ENV AUTHOR Docker
#
#ADD database/ /usr/local/server/
#
#ADD server/ /usr/local/server
#
#WORKDIR /usr/local/server/
#
## Dépendances
#RUN apk update
#
#RUN apk add python3
#RUN apk add py-pip
#RUN pip install mysql-connector-python
#RUN pip install get_docker_secret
#RUN pip install docker
#
#CMD ["python3", "server.py"]
#
## TO BUILD the image from parent directory "Softwares" Command : docker build --tag "tag" -f ./server/Dockerfile . 
## TO run the build in DOCKER : docker run --name "name" ser-app
#
#
#