Skip to content

Docker build fails on master due to outdated Dockerfile (expects requirements) #1699

@allamiro

Description

@allamiro

Docker build fails on master due to outdated Dockerfile (expects requirements/ and yarn.lock) using the latest documentation at https://nextcloudappstore.readthedocs.io/en/latest/prodinstalldocker.html

Steps to reproduce

  1. Clone the repository:
git clone https://github.com/nextcloud/appstore
cd appstore
git checkout tags/v4.11.3

  1. Build the production image:
docker compose build production

Expected behaviour

The Docker image builds successfully using the current repository layout.

Actual behaviour

The Docker build fails because the Dockerfile expects files that no longer exist in the repository:

requirements/ directory

yarn.lock

Example errors:

COPY requirements requirements: not found
COPY yarn.lock yarn.lock: not found

The current repository uses:

pyproject.toml / poetry.lock for Python dependencies

package-lock.json and npm instead of Yarn

This makes the provided Dockerfile and documentation incompatible with the current master branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions