Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit 69f99db

Browse files
saved more layers
1 parent d7a3996 commit 69f99db

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ RUN apk add libcurl --no-cache && \
99
/root/.dotnet/tools/minver > .version
1010

1111
FROM node:10.12.0-alpine AS build
12-
ARG MYGET_API_KEY
1312

1413
WORKDIR /app
1514

@@ -25,6 +24,9 @@ RUN REACT_APP_CLIENT_VERSION=$(cat .version) yarn build && \
2524
yarn build:dist && \
2625
yarn cache clean
2726

27+
FROM build AS publish
28+
ARG MYGET_API_KEY
29+
2830
RUN \
2931
if [ -n "$MYGET_API_KEY" ] ;\
3032
then echo "https://www.myget.org/F/sqlstreamstore/npm/:_authToken=${MYGET_API_KEY}" > .npmrc && \

0 commit comments

Comments
 (0)