我有一个应用程序Django在后端和angular在前端。它在本地构建和运行没有任何问题。 现在我想为前端创建docker镜像。我已经为django创建了它,它工作得很好。 但是当我为angular添加docker文件时,当我试图构建前端容器时,它卡在了Building前端 Dockerfile: FROM node:8.11.2-alpine as node
# Set working directory.
RUN mkdir /frontend
WORKDIR /frontend
# Copy app dependencies.
COPY package*.json ./fronte
我正在开发一个具有此目录计划的网站:
.
├── api
│ ├── here is my backend application
│ └── Dockerfile,
├── client
│ ├── here is my frontend application
│ └── Dockerfile
├── docker-compose
我在NuxtJS中有这个Dockerfile的前端:
FROM node:10
# Create app directory
WORKDIR /app
COPY package.json /app
RUN npm install
COPY
我正在为一个应用程序制作一个CI/CD管道,该管道具有React前端和Java后端。当我每次运行构建时,都会失败并得到一个错误。无论是在服务器上运行还是在本地机器上运行,我都会遇到这个错误。
Error Jenkins running on local :+ /usr/bin/docker-compose up --build -d
/var/root/.jenkins/workspace/flight-test-pipeline@tmp/durable-3512619f/script.sh: line 1: /usr/bin/docker-compose: No such file or d