mirror of
https://github.com/ION606/web-to-fish.git
synced 2026-05-15 02:46:53 +00:00
added dockerfile
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
FROM node:latest
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN mkdir -p /app/secrets && chmod -R 700 /app/secrets
|
||||
|
||||
EXPOSE 5164
|
||||
ENV NODE_ENV=production
|
||||
|
||||
CMD ["node", "."]
|
||||
Reference in New Issue
Block a user