read values from env and add Dockerfile
This commit is contained in:
1 parent
538a3f6aa9
commit
4b83c47637
8 files changed
+166
-3
No files matched your search
@@ -0,0 +1,19 @@
|
||||
FROM alpine:3.21
|
||||
WORKDIR /app
|
||||
|
||||
RUN apk update && apk upgrade
|
||||
RUN apk add nodejs npm
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm ci --only=production && npm cache clean --force
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 3030
|
||||
|
||||
ENTRYPOINT ["node"]
|
||||
CMD ["page-render.js"]
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user