From 34f0d0ff3a22ca535ac94c4f2122f5647558e242 Mon Sep 17 00:00:00 2001 From: ChUrl Date: Thu, 9 Nov 2023 00:00:53 +0100 Subject: [PATCH] add dockerfile --- Dockerfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b6854e4 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +# Using official node image as a parent image +FROM public.ecr.aws/docker/library/node:20-alpine3.18 + +# Create working directory +RUN mkdir /app + +# Setting the working directory to /app +WORKDIR /app + +# Copy the current directory contents into the container at /app +COPY . /app + +# Install AirSignal dependencies +RUN npm install + +# AirSignal port +EXPOSE 12776 + +# Run AirSignal when the container launches +CMD ["node", "server.js"]