Skip to content

Commit

Permalink
Create dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Jul 29, 2024
1 parent 9bd217b commit b90d981
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions blockchain_integration/pi_network/Infrastructure/dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM python:3.9-slim

# Set working directory to /app
WORKDIR /app

# Copy requirements file
COPY requirements.txt .

# Install dependencies
RUN pip install -r requirements.txt

# Copy application code
COPY . .

# Expose port 8080
EXPOSE 8080

# Run command to start the Pi Network
CMD ["python", "pi_network.py"]

0 comments on commit b90d981

Please sign in to comment.