Pro2API / Dockerfile
krinlove's picture
Create Dockerfile
3f1196f verified
raw
history blame contribute delete
342 Bytes
FROM node:lts-alpine
RUN apk add --no-cache git
WORKDIR /app
COPY verify.js /tmp/space_verify.js
ARG GIT_REPO_URL="https://github.com/Rfym21/PromptlayerProxy.git"
RUN git clone ${GIT_REPO_URL} cloned-repo
WORKDIR /app/cloned-repo
RUN cp -f /tmp/space_verify.js ./src/routes/verify.js
RUN npm install
EXPOSE 3000
CMD ["npm", "start"]