Add comments in Dockerfile
This commit is contained in:
parent
efdda1adac
commit
8ce951dd53
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,7 @@ COPY . .
|
||||||
|
|
||||||
RUN npm run vendors
|
RUN npm run vendors
|
||||||
|
|
||||||
|
# This part installs deps needed at runtime.
|
||||||
FROM python:3.11-slim as common
|
FROM python:3.11-slim as common
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
|
@ -26,6 +27,7 @@ RUN apt-get update && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
|
# This part adds deps needed only at buildtime.
|
||||||
FROM common as build
|
FROM common as build
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
|
|
Loading…
Reference in a new issue