Skip to content

Commit

Permalink
Merge pull request #107 from hotpocket/main
Browse files Browse the repository at this point in the history
use std python image instead of alpine due to build issues
  • Loading branch information
ryansurf authored Aug 12, 2024
2 parents 061e792 + 136b85b commit d0e8b23
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@

FROM python:alpine3.20

# install apt packages (curl command)
RUN apk add --update-cache curl && \
apk cache clean && \
rm -rf /var/cache/apk/*
FROM python:3

#this instruction specifies the "working directory"
#or the path in the image where files will be copied and commands will be executed.
Expand All @@ -21,10 +15,6 @@ RUN pip install poetry
RUN poetry config installer.max-workers 10
RUN poetry install --no-interaction --no-ansi

# # Setup an app user so the container doesn't run as the root user
# RUN useradd app
# USER app

# Set the working directory for running the application
EXPOSE 8000

Expand Down

2 comments on commit d0e8b23

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
src
   __init__.py00100% 
   api.py119794%32–36, 54, 76–77, 109–110
   art.py9367%32–33, 36
   cli.py250100% 
   dev_streamlit.py37370%1–86
   gpt.py10640%16–21, 32–45
   helper.py1243869%110, 121–125, 201–209, 221, 234–235, 266, 268–269, 292–293, 356–366, 373–381
   send_email.py24240%5–48
   server.py471079%55, 68–71, 87–91, 103–105
   settings.py220100% 
   streamlit_helper.py33330%5–90
TOTAL45015865% 

Tests Skipped Failures Errors Time
11 0 💤 0 ❌ 0 🔥 25.834s ⏱️

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
src
   __init__.py00100% 
   api.py119794%32–36, 54, 76–77, 109–110
   art.py9367%32–33, 36
   cli.py250100% 
   dev_streamlit.py37370%1–86
   gpt.py10640%16–21, 32–45
   helper.py1243869%110, 121–125, 201–209, 221, 234–235, 266, 268–269, 292–293, 356–366, 373–381
   send_email.py24240%5–48
   server.py471079%55, 68–71, 87–91, 103–105
   settings.py220100% 
   streamlit_helper.py33330%5–90
TOTAL45015865% 

Tests Skipped Failures Errors Time
11 0 💤 0 ❌ 0 🔥 19.854s ⏱️

Please sign in to comment.