User Tools

Site Tools


технология_docker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
технология_docker [2026/06/12 07:36]
val [Создание образа для приложения с использованием Dockerfile]
технология_docker [2026/07/30 12:07] (current)
val [Создание образа для приложения с использованием Dockerfile]
Line 148: Line 148:
 #!/bin/sh #!/bin/sh
  
-/​etc/​init.d/​inetutils-inetd start+#/​etc/​init.d/​inetutils-inetd start 
 +/​usr/​sbin/​inetutils-inetd -d
  
 bash bash
Line 192: Line 193:
 <​code>​ <​code>​
 lan# mkdir -p /root/webd/ && cd /root/webd/ lan# mkdir -p /root/webd/ && cd /root/webd/
-  или 
-gitlab-runner@server:​~$ mkdir -p ~/​webd/​webd/​ && cd ~/​webd/​webd/​ 
  
 lan:~/webd# scp server:/​usr/​local/​sbin/​webd . lan:~/webd# scp server:/​usr/​local/​sbin/​webd .
-  или 
-server# cp /​usr/​local/​sbin/​webd . 
-  или 
 </​code>​ </​code>​
   * [[Средства программирования shell#Web сервер на shell]]   * [[Средства программирования shell#Web сервер на shell]]
Line 208: Line 204:
 #!/bin/sh #!/bin/sh
  
-/​etc/​init.d/​inetutils-inetd start+#/​etc/​init.d/​inetutils-inetd start 
 +inetutils-inetd --foreground &
  
 touch /​var/​log/​webd.log touch /​var/​log/​webd.log
Line 284: Line 281:
 #ENV PATH="/​home/​myuser/​.local/​bin:​${PATH}"​ #ENV PATH="/​home/​myuser/​.local/​bin:​${PATH}"​
  
 +#ENV https_proxy=http://​proxy.isp.un:​3128
 RUN pip install -r requirements.txt RUN pip install -r requirements.txt
 #RUN pip install --user -r requirements.txt #RUN pip install --user -r requirements.txt
технология_docker.1781238981.txt.gz · Last modified: 2026/06/12 07:36 by val