Skip to content

Commit a3a62fb

Browse files
committed
Resolve some bugs and refactor localizations.
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.
1 parent 5d37ea0 commit a3a62fb

28 files changed

+1678
-1023
lines changed

.github/workflows/publish_docker_images.yml

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
uses: actions/checkout@v2
2626
- name: Get version from tag.
2727
uses: olegtarasov/get-tag@v1
28+
- name: Cache docker layers.
29+
uses: satackey/action-docker-layer-caching@v0.0.8
30+
continue-on-error: true
2831
- name: Build image.
2932
run:
3033
cd "${COMPONENT}" &&

client/Dockerfile

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
FROM node:13-alpine
1+
FROM node:14-alpine AS build
2+
3+
WORKDIR /md
4+
5+
RUN ["apk", "add", "--no-cache", "python", "make", "g++", "openjdk8-jre"]
26

37
ARG VERSION=dev
48
ENV MD_VERSION $VERSION
59

6-
WORKDIR /md
7-
810
COPY ["./package.json", "./package-lock.json", "./"]
9-
10-
RUN ["apk", "add", "--no-cache", "--virtual", ".gyp", "python", "make", "g++", "openjdk8-jre"]
1111
RUN ["npm", "ci"]
1212

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

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

0 commit comments

Comments
 (0)