# Use an official Python runtime as a parent image
FROM node:18-alpine

# Set the working directory to /app
WORKDIR /app

# Copy the current directory contents into the container at /app
COPY src /app/src
COPY package.json /app
COPY dotenv /app/.env

RUN apk add bash bash-completion vim
RUN npm install --include=dev

ENV ROOT_PATH="/app"
ENV SERVER_PORT=3000

ENTRYPOINT npm start
