Skip to content

Commit

Permalink
Pin to v14 to avoid further breakages
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot committed May 8, 2020
1 parent 485c8d9 commit 1b4daa2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ node_modules

# typescript
lib

tsconfig.tsbuildinfo
16 changes: 8 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
FROM node:current-alpine AS BUILD
COPY . /tmp/src
FROM node:14-alpine AS BUILD
COPY . /src

# git is needed to install Half-Shot/slackdown
RUN apk add git
RUN cd /tmp/src \
&& npm install \
&& npm run build
WORKDIR /src
RUN npm install
RUN npm run build

FROM node:current-alpine
FROM node:14-alpine

VOLUME /data/ /config/

COPY package.json /usr/src/app/
COPY package-lock.json /usr/src/app/

COPY --from=BUILD /tmp/src/config /usr/src/app/config
COPY --from=BUILD /tmp/src/lib /usr/src/app/lib
COPY --from=BUILD /src/config /usr/src/app/config
COPY --from=BUILD /src/lib /usr/src/app/lib

WORKDIR /usr/src/app

Expand Down

0 comments on commit 1b4daa2

Please sign in to comment.