diff --git a/Dockerfile b/Dockerfile index 40580fe..950fbae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:12-alpine +FROM node:12.21.0 LABEL maintainer="Rishi Ghan " RUN mkdir -p /usr/src/threetwo @@ -9,10 +9,7 @@ COPY yarn.lock /usr/src/threetwo COPY nodemon.json /usr/src/threetwo COPY jsdoc.json /usr/src/threetwo -RUN apk add --no-cache --virtual .build-deps git automake autoconf \ - && yarn \ - && apk del .build-deps - +RUN yarn COPY . /usr/src/threetwo EXPOSE 3050 diff --git a/src/client/components/ComicDetail.tsx b/src/client/components/ComicDetail.tsx index b0cdd6f..d4f2f07 100644 --- a/src/client/components/ComicDetail.tsx +++ b/src/client/components/ComicDetail.tsx @@ -261,14 +261,14 @@ export const ComicDetail = ({}: ComicDetailProps): ReactElement => { name: PropTypes.string, number: PropTypes.string, resource_type: PropTypes.string, - id: PropTypes.string, + id: PropTypes.number, }), }; RawFileDetails.propTypes = { data: PropTypes.shape({ containedIn: PropTypes.string, - fileSize: PropTypes.string, + fileSize: PropTypes.number, path: PropTypes.string, extension: PropTypes.string, }), diff --git a/src/client/components/Settings.tsx b/src/client/components/Settings.tsx index bdb1e2d..b824010 100644 --- a/src/client/components/Settings.tsx +++ b/src/client/components/Settings.tsx @@ -5,8 +5,50 @@ interface ISettingsProps {} export const Settings = (props: ISettingsProps): ReactElement => { return (
-
-

Settings

+
+
+

Settings

+ +
);