minor adjustments to dockerfile and version increment
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Stephan Dörfler 2020-06-03 12:37:20 +02:00
parent 60f1ea9339
commit ccdb038817
2 changed files with 3 additions and 3 deletions

View File

@ -12,4 +12,4 @@ steps:
registry: registry.while-false.de registry: registry.while-false.de
tags: tags:
- 'latest' - 'latest'
- '1.3.0' - '1.4.0'

View File

@ -2,9 +2,9 @@ FROM node:14.3 as build
WORKDIR /app WORKDIR /app
COPY . ./ COPY . ./
RUN yarn install -s RUN yarn install -s --no-progress --prod
RUN yarn global add gatsby-cli RUN yarn global add gatsby-cli
RUN gatsby build RUN npx gatsby build
FROM gatsbyjs/gatsby FROM gatsbyjs/gatsby
COPY --from=build /app/public /pub COPY --from=build /app/public /pub