Compare commits

..

No commits in common. "master" and "1b4ddb7f1376bcdbbba071fef524c00672fd3a4d" have entirely different histories.

4 changed files with 5 additions and 20 deletions

View File

@ -4,7 +4,7 @@
"author": "QingWei-Li",
"description": "Self hosted note taking app",
"tagline": "Notea is a privacy-first, open-source note-taking application. It supports Markdown syntax, sharing, responsive and more.",
"version": "0.0.1-9",
"version": "0.0.1-6",
"healthCheckPath": "/",
"httpPort": 3000,
"addons": {

View File

@ -1,25 +1,12 @@
FROM cloudron/base:3.0.0@sha256:455c70428723e3a823198c57472785437eb6eab082e79b3ff04ea584faf46e92 as builder
WORKDIR /app/code
ARG NAME=main
RUN git clone https://github.com/QingWei-Li/notea.git --branch "$NAME" --single-branch . && \
yarn install --frozen-lockfile && \
yarn build && \
yarn install --production --frozen-lockfile
FROM cloudron/base:3.0.0@sha256:455c70428723e3a823198c57472785437eb6eab082e79b3ff04ea584faf46e92
COPY --from=builder /app/code/public /app/code/public
COPY --from=builder /app/code/.next /app/code/.next
COPY --from=builder /app/code/node_modules /app/code/node_modules
COPY --from=cinwell/notea:0.0.1 /app/ /app/code/
WORKDIR /app/code
COPY example.env.sh start.sh /app/code/
RUN chmod +x /app/code/start.sh
WORKDIR /app/code
RUN chmod +x /app/code/start.sh && mkdir /app/data
EXPOSE 3000

View File

@ -3,5 +3,4 @@ export STORE_SECRET_KEY=
export STORE_BUCKET=notea
export STORE_END_POINT=http://localhost:9000
export STORE_FORCE_PATH_STYLE=true
export DISABLE_PASSWORD=true
export PASSWORD=

View File

@ -1,7 +1,6 @@
#!/bin/bash
set -eu
mkdir -p /app/data
echo " => Changing ownership"
chown -R cloudron:cloudron /app/data