Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Aaron Yildiztas
ansible-docker-deployment
Commits
4dd614cf
Commit
4dd614cf
authored
Aug 30, 2021
by
Aaron Yildiztas
Browse files
added log command to let container to share logs
parent
dbbf0b2d
Changes
1
Show whitespace changes
Inline
Side-by-side
proxyweb2/Dockerfile
View file @
4dd614cf
FROM
ubuntu
FROM
ubuntu
LABEL
maintainer="Aaron Yildiztas (yildiztasmusa@gmail.com)"
LABEL
maintainer="Aaron Yildiztas (yildiztasmusa@gmail.com)"
RUN
apt-get update
&&
apt-get
install
-y
nginx
RUN
apt-get update
&&
apt-get
install
-y
nginx
RUN
ln
-sf
/dev/stdout /var/log/nginx/access.log
&&
ln
-sf
/dev/stderr /var/log/nginx/error.log
EXPOSE
80
EXPOSE
80
ENTRYPOINT
["/usr/sbin/nginx", "-g", "daemon off;"]
ENTRYPOINT
["/usr/sbin/nginx", "-g", "daemon off;"]
\ No newline at end of file
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