Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
TineCrnugelj committed May 8, 2023
2 parents b8c3f69 + 6d578de commit 43b25ef
Show file tree
Hide file tree
Showing 111 changed files with 18,854 additions and 2,755 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ ENV ARCH="${ARCH}" \
CONTAINER_GROUP="node" \
CONTAINER_USER="node" \
DOCKER_CONTAINER=true \
DATA_DIR="/data" \
HOME="/root" \
NODE_ENV="production" \
PS1="\[\e]0;\u@\h: \w\a\]\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ " \
Expand All @@ -68,6 +69,8 @@ COPY root /
COPY --from=build-backend /root/backend/dist /root/backend/package.json /root/backend/package-lock.json /app/
RUN cd /app && \
mkdir -p static && \
mkdir -p /data && \
chown -R ${CONTAINER_USER}:${CONTAINER_GROUP} /data && \
npm install --only=prod

# Frontend files
Expand Down
2 changes: 2 additions & 0 deletions backend/data/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
project
tmpupload
Loading

0 comments on commit 43b25ef

Please sign in to comment.