Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Julien David
rdos
Commits
262ade04
Commit
262ade04
authored
Oct 05, 2020
by
Ismail Moumni
Browse files
adding SERVER Dock to Softwares
parent
7c5cfc3b
Pipeline
#1286
failed with stage
in 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
softwares/Dockerfile
View file @
262ade04
...
...
@@ -368,3 +368,37 @@ ENTRYPOINT ["python3","rdos_cleaner.py"]
# RUN make
# RUN mv bin/arbogen.byte .
# ENTRYPOINT ["python3","launcher.py"]
#######################################################################################
# Server #
#######################################################################################
# # 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 -d -p 9393:9393 --name "name" ser-app
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment