Skip to content

Commit

Permalink
fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
djeck1432 committed Oct 28, 2024
1 parent 0d64eb4 commit 57d9d2a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,18 @@ 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

# 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"]

0 comments on commit 57d9d2a

Please sign in to comment.