diff options
author | clyhtsuriva <aimeric@adjutor.xyz> | 2023-06-01 18:34:30 +0200 |
---|---|---|
committer | clyhtsuriva <aimeric@adjutor.xyz> | 2023-06-01 18:34:30 +0200 |
commit | c909d38e0950a70c8153a1f1b7b95040c0a3cd17 (patch) | |
tree | 3e50e7764c2b9bfc8cbdfae44999b2c253513abf /Dockerfile |
Initial release
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 25 |
1 files changed, 25 insertions, 0 deletions
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"] |