mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
devcontainer, added cleanup files
This commit is contained in:
parent
f76b466fc4
commit
458ec4c9a5
1 changed files with 13 additions and 0 deletions
|
@ -230,6 +230,19 @@ RUN \
|
|||
chmod u+w package.json npm-shrinkwrap.json && \
|
||||
npm install
|
||||
|
||||
USER root
|
||||
# Cleanup
|
||||
RUN \
|
||||
set -o xtrace && \
|
||||
apt-get clean -y && \
|
||||
apt-get autoremove -y && \
|
||||
rm -Rf /tmp* && \
|
||||
rm -Rf /home/wekan/app_build && \
|
||||
rm -Rf /var/cache/apt /var/lib/apt/lists && \
|
||||
rm -Rf /var/lib/apt/lists/*
|
||||
|
||||
USER wekan
|
||||
|
||||
ENV PORT=3000
|
||||
EXPOSE $PORT
|
||||
WORKDIR /home/wekan/app
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue