devcontainer, added cleanup files

This commit is contained in:
Martin Filser 2021-10-13 12:51:03 +02:00 committed by Martin Filser
parent f76b466fc4
commit 458ec4c9a5

View file

@ -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