Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use node 15, use package version #2066

Merged
merged 3 commits into from Mar 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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"]