docker #18
2
.dockerignore
Normal file
2
.dockerignore
Normal file
@ -0,0 +1,2 @@
|
||||
node_modules
|
||||
doc
|
@ -8,12 +8,7 @@ RUN apt-get update && \
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
|
||||
RUN apt-get install -y nodejs
|
||||
|
||||
RUN mkdir -p server/ssl
|
||||
RUN mkdir -p public/
|
||||
|
||||
COPY .env app.js package.json /app/
|
||||
COPY server/ssl/* /app/server/ssl/
|
||||
COPY public/* /app/public/
|
||||
COPY . /app/
|
||||
|
||||
RUN npm install
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user