Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-geof authored Aug 8, 2024
1 parent dec4577 commit d6a3732
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM python:3.10-slim

# Set the working directory in the container
WORKDIR /final-state-transformer

# Copy the rest of the application code into the container
COPY . .

# Install the dependencies from requirements.txt
RUN if [ -f "requirements.txt" ]; then pip install --no-cache-dir -r requirements.txt; fi

# Install the final-state-transformer package
RUN pip install .

# Default command to keep the container running
CMD ["tail", "-f", "/dev/null"]

0 comments on commit d6a3732

Please sign in to comment.