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