FROM node:latest AS Build RUN npm install haxe --global RUN npm install lix --global --force # RUN haxelib --global install hmm # RUN haxelib --global run hmm setup COPY ./app /app WORKDIR /app # RUN hmm install RUN lix scope RUN lix download RUN lix use haxe stable RUN lix install haxelib:hxnodejs RUN lix install haxelib:haxe-loader RUN lix install haxelib:react RUN lix install haxelib:react-router-4 # RUN lix install --global hmm RUN yarn install WORKDIR /app/ EXPOSE 9000 ENV NODE_OPTIONS="--openssl-legacy-provider" CMD ["yarn", "start"] # CMD ["/bin/bash"]