Add technical; snippet support
This commit is contained in:
19
Dockerfile
Normal file
19
Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM node:16
|
||||
|
||||
RUN yarn global add pnpm
|
||||
|
||||
RUN mkdir /app
|
||||
|
||||
COPY lib/ /app
|
||||
|
||||
RUN rm -f /app/.env
|
||||
|
||||
COPY .env.docker /app/.env
|
||||
COPY package.json /app
|
||||
COPY pnpm-lock.yaml /app
|
||||
|
||||
RUN cd /app && pnpm install
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
CMD ["node", "index.js"]
|
||||
Reference in New Issue
Block a user