20 lines
375 B
Docker
20 lines
375 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 src /app/src
|
|
COPY package.json /app
|
|
COPY dotenv /app/.env
|
|
|
|
RUN apk add bash bash-completion vim
|
|
RUN npm install --include=dev
|
|
|
|
EXPOSE 3000
|
|
|
|
ENV ROOT_PATH="/app"
|
|
|
|
ENTRYPOINT npm start
|