mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-22 20:23:12 +03:00
chore(docker): Lighten the weight of docker images through the use of alpine images
Some checks failed
Create and publish a Docker image / build-and-push-server (push) Has been cancelled
Create and publish a Docker image / build-and-push-chart (push) Has been cancelled
Create and publish a Docker image / build-and-push-CR (push) Has been cancelled
Deploy docs / deploy (push) Has been cancelled
Some checks failed
Create and publish a Docker image / build-and-push-server (push) Has been cancelled
Create and publish a Docker image / build-and-push-chart (push) Has been cancelled
Create and publish a Docker image / build-and-push-CR (push) Has been cancelled
Deploy docs / deploy (push) Has been cancelled
This commit is contained in:
parent
8b03043293
commit
aef3eeb793
3 changed files with 9 additions and 9 deletions
|
@ -1,22 +1,22 @@
|
|||
FROM node:20 AS shared-config
|
||||
FROM node:20-alpine AS shared-config
|
||||
# Install shared/config dependencies
|
||||
WORKDIR /
|
||||
COPY ./shared/config/package*.json .
|
||||
RUN npm install
|
||||
|
||||
FROM node:20 AS shared-database
|
||||
FROM node:20-alpine AS shared-database
|
||||
# Install shared/database dependencies
|
||||
WORKDIR /
|
||||
COPY ./shared/database/package*.json .
|
||||
RUN npm install
|
||||
|
||||
FROM node:20 AS shared-logger
|
||||
FROM node:20-alpine AS shared-logger
|
||||
# Install the shared/logger dependencies
|
||||
WORKDIR /
|
||||
COPY ./shared/logger/package*.json .
|
||||
RUN npm install
|
||||
|
||||
FROM node:20 AS collect-currency
|
||||
FROM node:20-alpine AS collect-currency
|
||||
|
||||
WORKDIR /
|
||||
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
FROM node:20 AS shared-config
|
||||
FROM node:20-alpine AS shared-config
|
||||
# Install shared/config dependencies
|
||||
WORKDIR /
|
||||
COPY ./shared/config/package*.json .
|
||||
RUN npm install
|
||||
|
||||
FROM node:20 AS shared-database
|
||||
FROM node:20-alpine AS shared-database
|
||||
# Install shared/database dependencies
|
||||
WORKDIR /
|
||||
COPY ./shared/database/package*.json .
|
||||
RUN npm install
|
||||
|
||||
FROM node:20 AS shared-logger
|
||||
FROM node:20-alpine AS shared-logger
|
||||
# Install the shared/logger dependencies
|
||||
WORKDIR /
|
||||
COPY ./shared/logger/package*.json .
|
||||
RUN npm install
|
||||
|
||||
FROM node:20 AS server
|
||||
FROM node:20-alpine AS server
|
||||
|
||||
WORKDIR /
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM python:3.13
|
||||
FROM python:3.13-alpine
|
||||
|
||||
WORKDIR /
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue