π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
fix: update dockerfile
Devin Buhl1d526b73e9a6
diff --git a/Dockerfile b/Dockerfileindex 161af7bb..2a0e4cd1 100644--- a/Dockerfile+++ b/Dockerfile@@ -1,13 +1,8 @@-FROM node:14.17-alpine AS BUILD_IMAGE+FROM node:14.17.5-alpine AS BUILD_IMAGEARG TARGETPLATFORMENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64}-# Define some ENV Vars-ENV PORT=80 \- DIRECTORY=/app \- IS_DOCKER=true-# Install additional tools needed on arm64 and armv7RUN \case "${TARGETPLATFORM}" in \@@ -16,7 +11,7 @@ RUN \esac# Create and set the working directory-WORKDIR ${DIRECTORY}+WORKDIR /appCOPY package.json yarn.lock ./RUN yarn install --frozen-lockfile --network-timeout 1000000@@ -27,11 +22,11 @@ COPY . ./# Build initial app for productionRUN yarn build-# remove development dependencies-RUN yarn install --production --ignore-scripts --prefer-offline+# # remove development dependencies+# RUN yarn install --production --ignore-scripts --prefer-offline# Build the final image-FROM node:14.17-alpine+FROM node:14.17.5-alpine# Define some ENV VarsENV PORT=80 \@@ -49,7 +44,7 @@ COPY --from=BUILD_IMAGE /app ./# Finally, run start command to serve up the built applicationENTRYPOINT [ "/sbin/tini", "--" ]-CMD [ "yarn", "start" ]+CMD [ "yarn", "build-and-start" ]# Expose given portEXPOSE ${PORT}