refactored docker build
This commit is contained in:
parent
9bcd186d8f
commit
8775583088
5 changed files with 32 additions and 19 deletions
|
@ -6,7 +6,7 @@ RUN chown -R app /app
|
|||
USER app
|
||||
WORKDIR /app
|
||||
RUN mkdir static
|
||||
RUN npm install && npm cache clean --force
|
||||
RUN npm install --production && npm cache clean --force
|
||||
|
||||
ENV PORT=1443
|
||||
EXPOSE $PORT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue