This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
технология_docker [2022/07/02 20:49] val [docker-compose] |
технология_docker [2022/07/06 10:04] val [Создание контейнера для приложения с использованием Dockerfile] |
||
---|---|---|---|
Line 158: | Line 158: | ||
COPY start.sh / | COPY start.sh / | ||
COPY webd /usr/local/sbin/webd | COPY webd /usr/local/sbin/webd | ||
- | ### ADD www.tgz /var/ #for simple test in k8s | + | ### ADD www.tgz /var/ #for simple test in k8s |
+ | ###COPY index.html /var/www/ #test in k8s | ||
EXPOSE 80 | EXPOSE 80 | ||
Line 261: | Line 262: | ||
webd: | webd: | ||
image: test/webd | image: test/webd | ||
+ | # image: server.corp13.un:5000/student/webd:1.1 | ||
build: webd/ | build: webd/ | ||
ports: | ports: |