adds upload cron && fixes date formatting
This commit is contained in:
@@ -6,8 +6,15 @@ RUN npm ci --omit=dev
|
||||
EXPOSE 3000
|
||||
ENV NODE_ENV=production
|
||||
|
||||
COPY ./cron.sh /etc/periodic/15min/cron
|
||||
RUN chmod +x /etc/periodic/15min/cron
|
||||
RUN mkdir /app/uploads
|
||||
RUN apk add curl
|
||||
|
||||
ENV PUBLIC_POCKETBASE_URL=http://127.0.0.1:8090
|
||||
ENV MEILI_URL=http://127.0.0.1:7700
|
||||
ENV PUBLIC_DISABLE_SIGNUP=false
|
||||
ENV UPLOAD_USER=
|
||||
ENV UPLOAD_PASSWORD=
|
||||
|
||||
CMD [ "node", "build" ]
|
||||
CMD crond && node build
|
||||
Reference in New Issue
Block a user