From c909d38e0950a70c8153a1f1b7b95040c0a3cd17 Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Thu, 1 Jun 2023 18:34:30 +0200 Subject: Initial release --- Dockerfile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2615327 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,25 @@ +FROM node:latest + +# Install git +RUN apt-get update && apt-get install -y git + +# Clone the app repo +RUN git clone https://github.com/vitling/acid-banger /app + +# Set working directory +WORKDIR /app + +# Install python3 for the web service +RUN apt-get install -y python3 + +# Install Node.js prerequisites +RUN npm install -g typescript webpack webpack-cli + +# Build the app +RUN ./build.sh + +# Expose port +EXPOSE 8088 + +# Start the web server +CMD ["python3", "-m", "http.server", "8088"] -- cgit v1.2.3