diff options
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"] |