Skip to content

Commit

Permalink
Resolve some bugs and refactor localizations.
Browse files Browse the repository at this point in the history
Resolve #167: Correct capitalization on cards
Resolve #169: Fix cast code failing to compile by moving to ES6 for the closure compiler target.
Move to noun and plural set-up which should make localization easier.
  • Loading branch information
Lattyware committed Sep 27, 2020
1 parent 5d37ea0 commit a3a62fb
Show file tree
Hide file tree
Showing 28 changed files with 1,678 additions and 1,023 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish_docker_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
uses: actions/checkout@v2
- name: Get version from tag.
uses: olegtarasov/get-tag@v1
- name: Cache docker layers.
uses: satackey/action-docker-layer-caching@v0.0.8
continue-on-error: true
- name: Build image.
run:
cd "${COMPONENT}" &&
Expand Down
12 changes: 6 additions & 6 deletions client/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM node:13-alpine
FROM node:14-alpine AS build

WORKDIR /md

RUN ["apk", "add", "--no-cache", "python", "make", "g++", "openjdk8-jre"]

ARG VERSION=dev
ENV MD_VERSION $VERSION

WORKDIR /md

COPY ["./package.json", "./package-lock.json", "./"]

RUN ["apk", "add", "--no-cache", "--virtual", ".gyp", "python", "make", "g++", "openjdk8-jre"]
RUN ["npm", "ci"]

COPY ["./tsconfig.json", "postcss.config.js", "./webpack.config.js", "./elm.json", "./"]
Expand All @@ -34,5 +34,5 @@ LABEL org.label-schema.build-date=$BUILD_DATE
LABEL org.label-schema.vcs-ref=$VCS_REF
LABEL org.label-schema.version=$VERSION

COPY --from=0 ["/md/dist", "/usr/share/nginx/html/"]
COPY --from=build ["/md/dist", "/usr/share/nginx/html/"]
COPY ["./nginx.conf", "/etc/nginx/nginx.conf"]
Loading

0 comments on commit a3a62fb

Please sign in to comment.