Skip to content

Commit efa20a2

Browse files
committed
Dockerfile: temporary skip elm build
1 parent 0b9a436 commit efa20a2

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

Dockerfile

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,21 @@ ENV NODE_ENV production
88
COPY package.json yarn.lock ./
99
RUN yarn install --production
1010

11-
FROM --platform=linux/amd64 node:10.16.0-buster-slim AS elm-build
12-
RUN npm install --unsafe-perm -g [email protected] --silent
13-
RUN apt-get -qq update && apt-get install -y netbase && rm -rf /var/lib/apt/lists/*
14-
WORKDIR /home/node/app/elm-client
15-
COPY ./elm-client/elm-package.json .
16-
RUN elm package install -y
17-
COPY ./elm-client/ /home/node/app/elm-client/
18-
RUN elm make Main.elm --output=client/index.js
11+
# FROM --platform=linux/amd64 node:10.16.0-buster-slim AS elm-build
12+
# RUN npm install --unsafe-perm -g [email protected] --silent
13+
# RUN apt-get -qq update && apt-get install -y netbase && rm -rf /var/lib/apt/lists/*
14+
# WORKDIR /home/node/app/elm-client
15+
# COPY ./elm-client/elm-package.json .
16+
# RUN elm package install -y
17+
# COPY ./elm-client/ /home/node/app/elm-client/
18+
# RUN elm make Main.elm --output=client/index.js
19+
FROM --platform=linux/amd64 mohsenasm/swarm-dashboard:v2.6 AS elm-copy
1920

2021
FROM base AS release
2122
ENV LEGO_PATH=/lego-files
2223
COPY --from=dependencies /home/node/app/node_modules node_modules
23-
COPY --from=elm-build /home/node/app/elm-client/client/ client
24+
# COPY --from=elm-build /home/node/app/elm-client/client/ client
25+
COPY --from=elm-copy /home/node/app/client client
2426
COPY package.json package.json
2527
COPY server server
2628
COPY server.sh server.sh

0 commit comments

Comments
 (0)