From 6c74d2fafea4879a1c5f18ff367b74be92fec204 Mon Sep 17 00:00:00 2001 From: einhorn_b Date: Tue, 13 Jun 2023 16:46:03 +0200 Subject: [PATCH] lost updates --- backend/Dockerfile | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index b988fbfed..9d5d53c43 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -47,18 +47,10 @@ WORKDIR ${DOCKER_WORKDIR} RUN mkdir -p /database -################################################################################## -# BASE with build tools for rust based npm modules like @iota/client ############# -################################################################################## -FROM base as base_extended - -# needed for building @iota/client, it is a rust based module -RUN apk add --no-cache rust cargo python3 make g++ - ################################################################################## # DEVELOPMENT (Connected to the local environment, to reload on demand) ########## ################################################################################## -FROM base_extended as development +FROM base as development # We don't need to copy or build anything since we gonna bind to the # local filesystem which will need a rebuild anyway @@ -71,7 +63,7 @@ CMD /bin/sh -c "cd /database && yarn install && yarn build && cd /app && yarn in ################################################################################## # BUILD (Does contain all files and is therefore bloated) ######################## ################################################################################## -FROM base_extended as build +FROM base as build # Copy everything from backend COPY ./backend/ ./