diff --git a/epicbox-typescript/Dockerfile b/epicbox-typescript/Dockerfile new file mode 100644 index 0000000..e41c098 --- /dev/null +++ b/epicbox-typescript/Dockerfile @@ -0,0 +1,15 @@ +FROM node:18.12.0-bullseye-slim +MAINTAINER Stepik Team + +ENV TYPESCRIPT_VERSION=4.8.4 +ENV TYPES_NODE_VERSION=18.11.9 + +RUN useradd -M -d /sandbox sandbox \ + && mkdir /sandbox \ + && chown sandbox:sandbox /sandbox + +RUN npm install -g \ + typescript@${TYPESCRIPT_VERSION} \ + @types/node@${TYPES_NODE_VERSION} + +WORKDIR /sandbox