We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34b7335 commit 88d21e4Copy full SHA for 88d21e4
Dockerfile
@@ -1,6 +1,8 @@
1
-FROM node:13-stretch as build
+FROM node:14-alpine as build
2
WORKDIR /var/myrunes
3
ADD . .
4
+
5
+RUN apk add git
6
RUN [ -e ${VUE_APP_API_HOST_URL} ] ||\
7
echo "VUE_APP_API_HOST_URL=${VUE_APP_API_HOST_URL}" \
8
>> .env
@@ -9,8 +11,11 @@ RUN echo "VUE_APP_VERSION=$(git describe --tags --abbrev=0)+$(git describe --tag
9
11
RUN npm ci &&\
10
12
npm run build
13
-FROM nginx:latest AS final
14
+# ----------------------------------------------------------
15
16
+FROM nginx:mainline-alpine AS final
17
LABEL maintainer="zekro <[email protected]>"
18
19
WORKDIR /app
20
COPY --from=build /var/myrunes/dist .
21
ADD ./config/nginx.conf /etc/nginx/conf.d/myrunes.conf
0 commit comments