Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
chore: Update lowdefy version to 3.21.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandile-Memela committed Sep 3, 2021
1 parent 0efcdb4 commit 82eadfa
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
4 changes: 2 additions & 2 deletions config-in-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ COPY --chown=node:node . .
RUN npx lowdefy@latest build

# Use the correct Lowdefy base image
FROM lowdefy/lowdefy:3.17.2
FROM lowdefy/lowdefy:3.21.2

# Copy build output from build stage
COPY --from=build --chown=node:node /home/node/lowdefy/.lowdefy/build ./build
Expand All @@ -23,4 +23,4 @@ COPY --from=build --chown=node:node /home/node/lowdefy/.lowdefy/build ./build
COPY --chown=node:node ./public ./public

# Run the server on start
CMD ["node", "./dist/server.js"]
CMD ["node", "./dist/server.js"]
4 changes: 1 addition & 3 deletions config-in-image/lowdefy.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

lowdefy: 3.17.2
lowdefy: 3.21.2
name: Lowdefy starter
licence: MIT

Expand Down Expand Up @@ -51,4 +50,3 @@ pages:
type: secondary
content: |
Made by a Lowdefy 🤖
6 changes: 3 additions & 3 deletions config-in-volume/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ docker run \
--name lowdefy \
--mount type=volume,source=lowdefy-build,destination=/home/node/lowdefy/build \
--mount type=volume,source=lowdefy-public,destination=/home/node/lowdefy/public \
lowdefy/lowdefy:3.17.2
lowdefy/lowdefy:3.21.2
```

```
Expand All @@ -28,10 +28,10 @@ docker run \
--mount type=volume,source=lowdefy-public,destination=/data/lowdefy/public \
-e LOWDEFY_SERVER_BUILD_DIRECTORY=/data/lowdefy/build \
-e LOWDEFY_SERVER_PUBLIC_DIRECTORY=/data/lowdefy/public \
lowdefy/lowdefy:3.17.2
lowdefy/lowdefy:3.21.2
```

```
docker cp ./.lowdefy/build lowdefy:/lowdefy
docker cp ./public lowdefy:/lowdefy
```
```
4 changes: 1 addition & 3 deletions config-in-volume/lowdefy.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

lowdefy: 3.17.2
lowdefy: 3.21.2
name: Lowdefy starter
licence: MIT

Expand Down Expand Up @@ -49,4 +48,3 @@ pages:
type: secondary
content: |
Made by a Lowdefy 🤖

0 comments on commit 82eadfa

Please sign in to comment.