Create a merged branch to deploy

Este commit está contenido en:
dev-docker 2021-06-21 13:54:37 +00:00
commit 36b39b251d
Se han modificado 1 ficheros con 10 adiciones y 3 borrados

Ver fichero

@ -1,8 +1,14 @@
## DEVELOPMENT IMAGE
FROM node:15-alpine AS dev
ARG DEVPLATFORM=${TARGETPLATFORM:-linux/amd64}
FROM --platform=$DEVPLATFORM node:15-alpine AS dev
# Install pre-requisites
RUN apk add --no-cache git python3
ARG DEVPLATFORM
RUN echo DEVPLATFORM: $DEVPLATFORM \
&& case $DEVPLATFORM in \
*arm*) apk add --no-cache git python3 build-base ;; \
*) apk add --no-cache git python3 ;; \
esac
# Fetch and build tileboard master branch
RUN mkdir /tileboard-source \
@ -12,6 +18,7 @@ RUN mkdir /tileboard-source \
&& mkdir /tileboard \
&& ln -s /tileboard build \
&& yarn install \
&& npm install --global node-sass \
&& yarn run build
# Start Server