Rearranged file structure. Separated App code from Terraform code.
This commit is contained in:
13
app/Dockerfile
Normal file
13
app/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM python:3.13-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
|
||||
RUN pip install --root-user-action=ignore --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY image-chooser.py .
|
||||
COPY ./entrypoint.sh /
|
||||
|
||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||
CMD [ "run", "image-chooser.py" ]
|
||||
Reference in New Issue
Block a user