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 curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
|
||||||
RUN apt-get install -y nodejs
|
RUN apt-get install -y nodejs
|
||||||
|
|
||||||
RUN mkdir -p server/ssl
|
COPY . /app/
|
||||||
RUN mkdir -p public/
|
|
||||||
|
|
||||||
COPY .env app.js package.json /app/
|
|
||||||
COPY server/ssl/* /app/server/ssl/
|
|
||||||
COPY public/* /app/public/
|
|
||||||
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
bmamihai marked this conversation as resolved
Outdated
|
|||||||
|
Loading…
Reference in New Issue
Block a user
What happens if we will refactor and add more files for the app?