Giter VIP home page Giter VIP logo

Comments (5)

laundmo avatar laundmo commented on August 18, 2024 2

changed the RUN in the dockerfile to include:

 && cp build.properties.example build.properties.a \
 && cat build.properties.a /overrides/build.properties > build.properties \

and prepended this to the CMD:

cat build.properties.a /overrides/build.properties > build.properties && 

it seems to work, but i configured it to use postgres as a database, the only issue being that the postgres database is empty, so all the queries fail...

edit: importing the cah_cards.sql seems to have worked, tho it should be noted that the docker compose file, as it is in this repo, is running a postgres container for nothing, since by default sqlite is used and postgres cant just be enabled in the config

from dockeryourxyzzy.

emcniece avatar emcniece commented on August 18, 2024

I wonder if the latest Dockerfile refactor deprecated overrides/build.properties. Can you get any overrides to work if you specify them in CMD a la https://github.com/emcniece/DockerYourXyzzy#run-with-overrides ?

from dockeryourxyzzy.

emcniece avatar emcniece commented on August 18, 2024

Yeah, it looks like the overrides directory is added (https://github.com/emcniece/DockerYourXyzzy/blob/master/Dockerfile#L22) but nothing is done with it after the fact.

Perhaps entrypoint.sh should append the overrides to the main build.properties on startup...

from dockeryourxyzzy.

laundmo avatar laundmo commented on August 18, 2024

would appending the overrides work? i dont know how the build.properties is read, so im unsure whether duplicate lines would cause issues, but if its as simple as appending, i can figure something out.

from dockeryourxyzzy.

laundmo avatar laundmo commented on August 18, 2024

it also seems that i was mistaken, the .pyx volume is not meant to contain the containers /project, its supposed to contain /output which is empty in the container, and im unsure what the purpose of that is

from dockeryourxyzzy.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.