mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
changing the working directory to var/task/Model for the docker to align with lambda requirements
This commit is contained in:
parent
7f9b973890
commit
aff4cce777
3 changed files with 3 additions and 4 deletions
|
|
@ -6,7 +6,7 @@ ENV PYTHONDONTWRITEBYTECODE 1
|
|||
ENV PYTHONUNBUFFERED 1
|
||||
|
||||
# Set work directory to the root of your project
|
||||
WORKDIR /Model
|
||||
WORKDIR var/task/Model
|
||||
|
||||
# Install system dependencies
|
||||
RUN apt-get update && apt-get install -y netcat-openbsd
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ ENV PYTHONDONTWRITEBYTECODE 1
|
|||
ENV PYTHONUNBUFFERED 1
|
||||
|
||||
# Set work directory to the root of your project
|
||||
WORKDIR /Model
|
||||
WORKDIR var/task/Model
|
||||
|
||||
# Install system dependencies
|
||||
RUN apt-get update && apt-get install -y netcat-openbsd
|
||||
|
|
@ -31,4 +31,4 @@ COPY ./datatypes/ ./datatypes/
|
|||
COPY ./utils/ ./utils/
|
||||
|
||||
# Define the handler location
|
||||
#CMD ["backend.app.main.handler"]
|
||||
CMD ["backend.app.main.handler"]
|
||||
|
|
|
|||
|
|
@ -43,7 +43,6 @@ custom:
|
|||
|
||||
functions:
|
||||
app:
|
||||
handler: backend.app.main.handler
|
||||
image:
|
||||
uri: ${env:ECR_URI}:${env:GITHUB_SHA}
|
||||
events:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue