diff --git a/Dockerfile b/Dockerfile index 9312766d..04dac761 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,8 @@ WORKDIR /app COPY pyproject.toml poetry.lock /app/ # Install dependencies from the poetry.lock file -RUN poetry install --no-dev --no-interaction --no-root +RUN poetry config virtualenvs.create false \ + && poetry install --no-dev --no-interaction --no-root # Copy the rest of the application code ADD . /app @@ -33,6 +34,9 @@ ADD . /app # Install StarknetKit via npm with legacy-peer-deps flag RUN npm install @argent/get-starknet --legacy-peer-deps --save +# Set the entrypoint script as executable +RUN chmod +x /app/entrypoint.sh + EXPOSE 8000 ENTRYPOINT ["bash", "/app/entrypoint.sh"] \ No newline at end of file