feat: Split v1 and v2 apis
This commit is contained in:
19
v1/Dockerfile
Normal file
19
v1/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user