salix/db/Dockerfile

30 lines
431 B
Docker
Raw Normal View History

2024-09-30 07:00:59 +00:00
FROM docker:dind AS base
2024-09-25 12:12:02 +00:00
ENV TZ Europe/Madrid
ARG DEBIAN_FRONTEND=noninteractive
2024-09-30 07:00:59 +00:00
RUN apk update \
&& apk add --update nodejs npm python3 \
krb5-dev libressl-dev
RUN apk update \
&& apk add --virtual build-dependencies \
build-base gcc wget git
2024-09-25 12:12:02 +00:00
RUN npm i -g pnpm
WORKDIR /salix
COPY db db
2024-09-30 07:00:59 +00:00
COPY node_modules node_modules
COPY .git .git
2024-09-25 12:12:02 +00:00
COPY myt.config.yml .
2024-09-30 07:00:59 +00:00
# RUN pnpm i @verdnatura/myt
2024-09-25 12:12:02 +00:00
FROM base AS db
WORKDIR /salix