30 lines
431 B
Docker
30 lines
431 B
Docker
FROM docker:dind AS base
|
|
|
|
ENV TZ Europe/Madrid
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
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
|
|
|
|
|
|
RUN npm i -g pnpm
|
|
|
|
WORKDIR /salix
|
|
|
|
COPY db db
|
|
COPY node_modules node_modules
|
|
COPY .git .git
|
|
COPY myt.config.yml .
|
|
|
|
# RUN pnpm i @verdnatura/myt
|
|
|
|
|
|
FROM base AS db
|
|
|
|
WORKDIR /salix
|