* chore(vagrant): initial vagrantfile * chore(vagrant): adding instructions after installation * chore(vagrant): Adding vagrant user to docker group * chore(vagrant): use local docker daemon for k3s * chore(vagrant): fix comment * chore(vagrant): adding hostname in /etc/hosts * chore(vagrant): fix doc * chore(vagrant): limiting cpu * chore(frontend): initialize dev env * chore(docker): adding dockerignore * chore(dockerfile): using cache for fasten build * chore(dockerignore): update * chore(docker): build optimizations * chore(build): all components build option * chore(build): utilities build fix * chore(scrpt): remove debug message * chore(vagrant): provision using stable branch always Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
26 lines
762 B
Docker
26 lines
762 B
Docker
FROM python:3.9.10-slim
|
|
LABEL Maintainer="Rajesh Rajendran<rjshrjndrn@gmail.com>"
|
|
LABEL Maintainer="KRAIEM Taha Yassine<tahayk2@gmail.com>"
|
|
WORKDIR /work
|
|
COPY . .
|
|
RUN pip install -r requirements.txt
|
|
RUN mv .env.default .env
|
|
ENV APP_NAME chalice
|
|
# Installing Nodejs
|
|
RUN apt update && apt install -y curl && \
|
|
curl -fsSL https://deb.nodesource.com/setup_12.x | bash - && \
|
|
apt install -y nodejs && \
|
|
apt remove --purge -y curl && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
RUN cd sourcemap-reader && \
|
|
npm install
|
|
|
|
# Add Tini
|
|
# Startup daemon
|
|
ENV TINI_VERSION v0.19.0
|
|
ARG envarg
|
|
ENV ENTERPRISE_BUILD ${envarg}
|
|
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
|
|
RUN chmod +x /tini
|
|
ENTRYPOINT ["/tini", "--"]
|
|
CMD ./entrypoint.sh
|