Files
ETAApi/Dockerfile

22 lines
409 B
Docker

# 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 config /app/config
COPY lib /app/lib
COPY sections /app/sections
COPY index.js /app
COPY package.json /app
COPY dotenv /app/.env
RUN npm install --include=dev
EXPOSE 3000
ENV ROOT_PATH="/app"
ENTRYPOINT npm start