Skip to content

There is no nginx configuration for the frontend. #1

Description

@AlexAseyev
$ docker compose up -d
WARN[0000] /home/aaseev/Projects/modelvault/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Building 0.3s (14/14) FINISHED                                                                                                                                                                                                                               docker:default
 => [frontend internal] load build definition from Dockerfile                                                                                                                                                                                                              0.0s
 => => transferring dockerfile: 306B                                                                                                                                                                                                                                       0.0s
 => [frontend internal] load metadata for docker.io/library/nginx:alpine                                                                                                                                                                                                   0.0s
 => [frontend internal] load metadata for docker.io/library/node:20-alpine                                                                                                                                                                                                 0.2s
 => [frontend internal] load .dockerignore                                                                                                                                                                                                                                 0.0s
 => => transferring context: 2B                                                                                                                                                                                                                                            0.0s
 => [frontend builder 1/6] FROM docker.io/library/node:20-alpine@sha256:fb4cd12c85ee03686f6af5362a0b0d56d50c58a04632e6c0fb8363f609372293                                                                                                                                   0.0s
 => => resolve docker.io/library/node:20-alpine@sha256:fb4cd12c85ee03686f6af5362a0b0d56d50c58a04632e6c0fb8363f609372293                                                                                                                                                    0.0s
 => [frontend internal] load build context                                                                                                                                                                                                                                 0.0s
 => => transferring context: 837B                                                                                                                                                                                                                                          0.0s
 => CACHED [frontend stage-1 1/3] FROM docker.io/library/nginx:alpine                                                                                                                                                                                                      0.0s
 => CACHED [frontend builder 2/6] WORKDIR /app                                                                                                                                                                                                                             0.0s
 => CACHED [frontend builder 3/6] COPY package*.json ./                                                                                                                                                                                                                    0.0s
 => CACHED [frontend builder 4/6] RUN npm ci                                                                                                                                                                                                                               0.0s
 => CACHED [frontend builder 5/6] COPY . .                                                                                                                                                                                                                                 0.0s
 => CACHED [frontend builder 6/6] RUN npm run build                                                                                                                                                                                                                        0.0s
 => CACHED [frontend stage-1 2/3] COPY --from=builder /app/dist /usr/share/nginx/html                                                                                                                                                                                      0.0s
 => ERROR [frontend stage-1 3/3] COPY nginx.conf /etc/nginx/conf.d/default.conf                                                                                                                                                                                            0.0s
------
 > [frontend stage-1 3/3] COPY nginx.conf /etc/nginx/conf.d/default.conf:
------
failed to solve: failed to compute cache key: failed to calculate checksum of ref 70c97af4-832d-4876-a7eb-86c09a755beb::dj41j2f54uyfl0u0qiqgn78tu: "/nginx.conf": not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions