Skip to content

Use local source instead of fetching from GitHub in Docker build #46

@magnified103

Description

@magnified103

RUN mkdir /judge /problems && cd /judge && \
curl -L https://github.com/VNOI-Admin/judge-server/archive/"${TAG}".tar.gz | tar -xz --strip-components=1 && \
python3 -m venv --prompt=DMOJ /env && \

The Dockerfile currently fetches the source code directly from GitHub during the build stage. This makes local development inconvenient because developers must push changes to a specific branch before they can build the image.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions