Skip to content

Commit

Permalink
app
Browse files Browse the repository at this point in the history
  • Loading branch information
bkbilly committed Apr 25, 2024
1 parent d3c340e commit ed6828a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions placeholder_service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ FROM $BUILD_FROM


# Python 3 HTTP Server serves the current working dir
# So let's set it to our add-on persistent data directory.
WORKDIR /data
# So let's set it to our add-on persistent app directory.
WORKDIR /app

# Copy data for add-on
COPY requirements.txt .
Expand Down
2 changes: 1 addition & 1 deletion placeholder_service/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "Placeholder Service"
version: "0.3"
version: "0.4"
slug: "placeholder_service"
description: "Create images from text input received through HTTP requests"
url: https://github.com/bkbilly/placeholder_service
Expand Down
2 changes: 1 addition & 1 deletion placeholder_service/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

echo "Hello world!"
python3 /data/placeholder_service.py
python3 /app/placeholder_service.py

0 comments on commit ed6828a

Please sign in to comment.