mirror of
https://github.com/tlsnotary/tlsn-plugin-demo.git
synced 2026-01-08 21:08:13 -05:00
Create Dockerfile
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM node:20-alpine
|
||||
|
||||
ARG PORT=3030
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm install
|
||||
RUN touch server/util/poaps.txt
|
||||
RUN touch server/util/assignments.json
|
||||
RUN npm run build
|
||||
|
||||
EXPOSE ${PORT}
|
||||
CMD ["node", "build/server/index.bundle.js"]
|
||||
Reference in New Issue
Block a user