diff options
| author | RblSb <msrblsb@gmail.com> | 2021-01-16 05:53:40 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2021-01-16 05:53:40 +0300 |
| commit | 266c0cbe76d345afe49759ba8be9ba7aadc4760d (patch) | |
| tree | 4c198009a26a15717cbe38d3980ca303ac13c938 /Dockerfile | |
| parent | 6190cb511b481fbf2c0ea39e90101dbea371fbf5 (diff) | |
Add dockerfile
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..37ff07c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,21 @@ +FROM frolvlad/alpine-glibc +WORKDIR /usr/src/app + +RUN apk add nodejs npm git; \ + npm install --global lix; \ + lix install haxe 4.1.5 --global + +COPY res ./res +COPY src ./src +COPY user ./user +COPY build-*.hxml . +COPY package*.json . +COPY default-config.json . + +RUN npm ci; \ + haxelib install all --always; \ + haxe build-all.hxml + +EXPOSE 4200 + +CMD npm start |
