Skip to content

Commit

Permalink
fix: Docker Alpine downgrade
Browse files Browse the repository at this point in the history
Fixed #152
  • Loading branch information
svrooij committed Sep 22, 2021
1 parent 524a035 commit 7669ac4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM node:current-alpine as build
FROM node:current-alpine3.12 as build
WORKDIR /usr/src/app
COPY package*.json tsconfig.json ./
RUN npm ci
COPY ./src ./src
RUN npm run build

FROM node:current-alpine as prod
FROM node:current-alpine3.12 as prod
ARG BUILD_DATE=unknown
ARG BUILD_VERSION=0.0.0-development
ARG VCS_REF=not-set
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.npm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# COPY ./src ./src
# RUN npm run build

FROM node:current-alpine as prod
FROM node:current-alpine3.12 as prod
ENV SONOS2MQTT_RUNNING_IN_CONTAINER=true
WORKDIR /usr/src/app

Expand Down

0 comments on commit 7669ac4

Please sign in to comment.