Files
docker-airsignal/Dockerfile
ChUrl bb7bad029a
All checks were successful
Build AirSignal Docker image / build-docker (push) Successful in 22s
Update dockerfile
2023-11-09 17:32:19 +01:00

22 lines
439 B
Docker

# 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
ENTRYPOINT ["node"]
CMD ["server.js"]