Skip to content

Commit

Permalink
Merge pull request #73 from BaldissaraMatheus/v2.1
Browse files Browse the repository at this point in the history
V2.1
  • Loading branch information
BaldissaraMatheus authored Feb 5, 2024
2 parents ff736ef + f1c3e12 commit a7c9143
Show file tree
Hide file tree
Showing 7 changed files with 351 additions and 223 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,16 @@ FROM alpine:3.17.2 as final
ARG PUID=0
ARG PGID=0
ARG TITLE=""
ARG BASE_PATH=""
ARG BASE_PATH="/"
ARG LOCAL_IMAGES_CLEANUP_INTERVAL=1440
ENV VITE_TITLE $TITLE
ENV BASE_PATH $BASE_PATH
ENV LOCAL_IMAGES_CLEANUP_INTERVAL=$LOCAL_IMAGES_CLEANUP_INTERVAL
ENV NODE_ENV prod
ENV CONFIG_DIR="/config"
ENV TASKS_DIR="/tasks"
ENV PUID $PUID
ENV PGID $PGID
ENV PORT 8080
USER root

RUN set -eux \
Expand Down
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"uuid": "^9.0.0"
},
"scripts": {
"start": "node server.js"
"start": "PORT='8080' CONFIG_DIR='config' TASKS_DIR='tasks' BASE_PATH='/' PUID='1000' PGID='1000' LOCAL_IMAGES_CLEANUP_INTERVAL='1440' node server.js"
}
}
Loading

0 comments on commit a7c9143

Please sign in to comment.