Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update docker files #74

Merged
merged 1 commit into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions apps/cli/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
FROM node:20.2-alpine3.18 as unteris-node
FROM node:20.5-alpine3.18 AS unteris-node

RUN npm i -g [email protected] && \
apk add --no-cache \
dumb-init=1.2.5-r2
apk add --no-cache \
dumb-init=1.2.5-r2

FROM unteris-node AS unteris-common

WORKDIR /src
RUN apk add --no-cache \
python3 \
make \
gcc \
g++
python3 \
make \
gcc \
g++
COPY package.json \
tsconfig* \
nx.json \
pnpm-lock.yaml \
./
tsconfig* \
nx.json \
pnpm-lock.yaml \
./
ENV CYPRESS_INSTALL_BINARY=0
RUN pnpm i

Expand Down
22 changes: 11 additions & 11 deletions apps/image-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
FROM node:20.2-alpine3.18 as unteris-node
FROM node:20.5-alpine3.18 AS unteris-node


RUN npm i -g [email protected] && \
apk add --no-cache \
dumb-init=1.2.5-r2
apk add --no-cache \
dumb-init=1.2.5-r2

FROM unteris-node AS unteris-common

WORKDIR /src
RUN apk add --no-cache \
python3 \
make \
gcc \
g++
python3 \
make \
gcc \
g++
COPY package.json \
tsconfig* \
nx.json \
pnpm-lock.yaml \
./
tsconfig* \
nx.json \
pnpm-lock.yaml \
./
ENV CYPRESS_INSTALL_BINARY=0
RUN pnpm i

Expand Down
22 changes: 11 additions & 11 deletions apps/server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
FROM node:20.2-alpine3.18 as unteris-node
FROM node:20.5-alpine3.18 AS unteris-node


RUN npm i -g [email protected] && \
apk add --no-cache \
dumb-init=1.2.5-r2
apk add --no-cache \
dumb-init=1.2.5-r2

FROM unteris-node AS unteris-common

WORKDIR /src
RUN apk add --no-cache \
python3 \
make \
gcc \
g++
python3 \
make \
gcc \
g++
COPY package.json \
tsconfig* \
nx.json \
pnpm-lock.yaml \
./
tsconfig* \
nx.json \
pnpm-lock.yaml \
./
ENV CYPRESS_INSTALL_BINARY=0
RUN pnpm i

Expand Down
24 changes: 12 additions & 12 deletions apps/site/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
FROM node:20.2-alpine3.18 as unteris-node
FROM node:20.5-alpine3.18 AS unteris-node


RUN npm i -g [email protected] && \
apk add --no-cache \
dumb-init=1.2.5-r2
apk add --no-cache \
dumb-init=1.2.5-r2

FROM unteris-node AS unteris-common

WORKDIR /src
RUN apk add --no-cache \
python3 \
make \
gcc \
g++
python3 \
make \
gcc \
g++
COPY package.json \
tsconfig* \
nx.json \
pnpm-lock.yaml \
./
tsconfig* \
nx.json \
pnpm-lock.yaml \
./
ENV CYPRESS_INSTALL_BINARY=0
RUN pnpm i

Expand All @@ -29,7 +29,7 @@ COPY libs/ui ./libs/ui
COPY libs/shared ./libs/shared/
RUN VITE_SERVER_URL=$SERVER_URL pnpm nx run site:build:production

FROM caddy:2.6.4-alpine as site-prod
FROM caddy:2.6.4-alpine AS site-prod
LABEL description="The Unteris website image, ran via a Caddy reverse proxy"
WORKDIR /src
COPY apps/site/robots.txt ./dist/apps/site/robots.txt
Expand Down
Loading