Explorar el Código

feat: add Dockerfile for docker deployment support

AprilNEA hace 2 años
padre
commit
8d0d08725d
Se han modificado 1 ficheros con 14 adiciones y 0 borrados
  1. 14 0
      Dockerfile

+ 14 - 0
Dockerfile

@@ -0,0 +1,14 @@
+FROM node:18
+
+WORKDIR /app
+
+ENV OPENAI_API_KEY=""
+ENV CODE=""
+
+COPY . ./
+
+RUN yarn && yarn build
+
+EXPOSE 3000
+
+CMD ["yarn","start"]