clean up docker images
This commit is contained in:
parent
7963c2cb63
commit
e8d68a0fa0
|
@ -2,14 +2,16 @@ FROM node:16.14.2-alpine
|
|||
|
||||
WORKDIR /usr/app
|
||||
|
||||
COPY packages/dashboard-v2/package.json packages/dashboard-v2/yarn.lock ./
|
||||
COPY packages/dashboard-v2/package.json \
|
||||
packages/dashboard-v2/yarn.lock \
|
||||
./
|
||||
|
||||
RUN yarn --frozen-lockfile
|
||||
|
||||
COPY packages/dashboard/static ./static
|
||||
COPY packages/dashboard/src ./src
|
||||
COPY packages/dashboard/gatsby*.js ./
|
||||
COPY packages/dashboard/postcss.config.js \
|
||||
COPY packages/dashboard/gatsby*.js \
|
||||
packages/dashboard/postcss.config.js \
|
||||
packages/dashboard/tailwind.config.js \
|
||||
./
|
||||
|
||||
|
|
|
@ -2,7 +2,9 @@ FROM node:16.14.2-alpine
|
|||
|
||||
WORKDIR /usr/app
|
||||
|
||||
COPY packages/dashboard/package.json packages/dashboard/yarn.lock ./
|
||||
COPY packages/dashboard/package.json \
|
||||
packages/dashboard/yarn.lock \
|
||||
./
|
||||
|
||||
ENV NEXT_TELEMETRY_DISABLED 1
|
||||
RUN yarn --frozen-lockfile
|
||||
|
|
|
@ -2,7 +2,9 @@ FROM node:16.14.2-alpine
|
|||
|
||||
WORKDIR /usr/app
|
||||
|
||||
COPY packages/dnslink-api/package.json packages/dnslink-api/yarn.lock ./
|
||||
COPY packages/dnslink-api/package.json \
|
||||
packages/dnslink-api/yarn.lock \
|
||||
./
|
||||
|
||||
RUN yarn --frozen-lockfile
|
||||
|
||||
|
|
|
@ -2,7 +2,9 @@ FROM node:16.14.2-alpine
|
|||
|
||||
WORKDIR /usr/app
|
||||
|
||||
COPY packages/handshake-api/package.json packages/handshake-api/yarn.lock ./
|
||||
COPY packages/handshake-api/package.json \
|
||||
packages/handshake-api/yarn.lock \
|
||||
./
|
||||
|
||||
RUN yarn --frozen-lockfile
|
||||
|
||||
|
|
|
@ -11,7 +11,9 @@ ENV PATH="/usr/app/bin:${PATH}"
|
|||
RUN echo '*/5 * * * * source /etc/environment ; /usr/app/bin/cli run critical >> /proc/1/fd/1' >> /etc/crontabs/root && \
|
||||
echo '0 * * * * source /etc/environment ; /usr/app/bin/cli run extended >> /proc/1/fd/1' >> /etc/crontabs/root
|
||||
|
||||
COPY packages/health-check/package.json packages/health-check/yarn.lock ./
|
||||
COPY packages/health-check/package.json \
|
||||
packages/health-check/yarn.lock \
|
||||
./
|
||||
|
||||
RUN yarn --frozen-lockfile
|
||||
|
||||
|
|
|
@ -4,7 +4,9 @@ RUN apk add --no-cache autoconf=2.71-r0 automake=1.16.4-r1 build-base=0.5-r2 lib
|
|||
|
||||
WORKDIR /usr/app
|
||||
|
||||
COPY packages/website/package.json packages/website/yarn.lock ./
|
||||
COPY packages/website/package.json \
|
||||
packages/website/yarn.lock \
|
||||
./
|
||||
|
||||
ENV GATSBY_TELEMETRY_DISABLED 1
|
||||
ENV CYPRESS_INSTALL_BINARY 0
|
||||
|
@ -13,10 +15,7 @@ RUN yarn --frozen-lockfile
|
|||
COPY packages/website/data ./data
|
||||
COPY packages/website/src ./src
|
||||
COPY packages/website/static ./static
|
||||
COPY packages/website/gatsby-browser.js \
|
||||
packages/website/gatsby-config.js \
|
||||
packages/website/gatsby-node.js \
|
||||
packages/website/gatsby-ssr.js \
|
||||
COPY packages/website/gatsby-*.js \
|
||||
packages/website/postcss.config.js \
|
||||
packages/website/tailwind.config.js \
|
||||
./
|
||||
|
|
Reference in New Issue