AK
FROM ubuntu:latest
RUN apt update && apt install python3 -y && apt install python3-pip -y
COPY . /app
WORKDIR /app
RUN pip3 install -r requirements.txt
EXPOSE 5000
ENTRYPOINT ["bash"]
CMD ["start.sh"]
Size: a a a
AK
FROM ubuntu:latest
RUN apt update && apt install python3 -y && apt install python3-pip -y
COPY . /app
WORKDIR /app
RUN pip3 install -r requirements.txt
EXPOSE 5000
ENTRYPOINT ["bash"]
CMD ["start.sh"]
AK
AK
Building webservice
ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
R
Building webservice
ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
AK
AK
total 20K
drwxr-xr-x 4 ctf ctf 4.0K Mar 11 02:12 .
drwxrwxrwt 16 root root 4.0K Mar 11 02:11 ..
drwxr-xr-x 2 ctf ctf 4.0K Mar 11 02:09 conf
-rw-r--r-- 1 ctf ctf 534 Mar 11 02:11 docker-compose.yml
drwxr-xr-x 6 ctf ctf 4.0K Mar 11 02:13 _webs
AK
AK
AK
AK
version: "3"
services:
nginx:
container_name: nginx
image: nginx:latest
ports:
- "80:80"
- "443:443"
volumes:
- ./conf/nginx.conf:/etc/nginx/nginx.conf
webservice:
image: webs
container_name: webservice
ports:
- "5000:5000"
AK
AK
AK