odoo14 源码部署Dockerfile
我采用的挂载的方式加载代码,并没有将代码打包到docker里面DockerfileFROM debian:buster-slim MAINTAINER Lnace <lin20080369126.com> SHELL ["/bin/bash", "-xo", "pipefail", "-c"] ENV
我采用的挂载的方式加载代码,并没有将代码打包到docker里面DockerfileFROM debian:buster-slim MAINTAINER Lnace <lin20080369126.com> SHELL ["/bin/bash", "-xo", "pipefail", "-c"] ENV
sudo curl -L https://github.com/docker/compose/releases/download/1.29.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose docker-compose
sudo apt update sudo apt install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - sudo add-apt
查看你的容器名称docker ps -a 你的容器名称docker logs
version: '2' services: web: container_name: odoo-web image: odoo:13 restart: always depends_on: - db ports: - "8070:8069" environment: - HOST=db