Skip to content

Commit

Permalink
feat: use node 15, use package version (#2066)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef committed Mar 2, 2021
1 parent 9e8c836 commit eee669b
Show file tree
Hide file tree
Showing 7 changed files with 11,811 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Expand Up @@ -15,7 +15,7 @@ jobs:
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: simple
release-type: node
changelog-path: CHANGELOG.md
package-name: streetmerchant
- name: Login into GitHub Container Registry
Expand Down
2 changes: 1 addition & 1 deletion .node-version
@@ -1 +1 @@
14.15.4
15.10.0
5 changes: 2 additions & 3 deletions Dockerfile
@@ -1,4 +1,4 @@
FROM node:15.9.0-alpine3.12 AS builder
FROM node:15.10.0-alpine3.12 AS builder

LABEL org.opencontainers.image.source="https://github.com/jef/streetmerchant"

Expand All @@ -15,7 +15,7 @@ COPY src/ src/
RUN npm run compile
RUN npm prune --production

FROM node:15.9.0-alpine3.12
FROM node:15.10.0-alpine3.12

RUN apk add --no-cache chromium

Expand All @@ -35,7 +35,6 @@ COPY --from=builder /build/node_modules/ node_modules/
COPY --from=builder /build/build/ build/
COPY web/ web/
COPY package.json package.json
COPY version.txt version.txt

ENTRYPOINT ["npm", "run"]
CMD ["start:production"]

0 comments on commit eee669b

Please sign in to comment.