diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..c12baa7 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,5 @@ +# production +.ass-data/ + +# development +node_modules/ \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 512997d..ce69bfb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -# ass Dockerfile v0.3.2 +# ass Dockerfile v0.3.3 # authors: # - tycrek (https://tycrek.com/) # - Zusier (https://github.com/Zusier) -FROM node:20.8.0 +FROM node:20.9.0-alpine WORKDIR /opt/ass-src/ COPY . ./ RUN npm i --save-dev && npm run build -CMD npm start +CMD npm start \ No newline at end of file