mirror of
https://github.com/usememos/memos.git
synced 2026-11-19 10:29:11 +01:00
refactor: remove unused constants
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ COPY . .
|
||||
# Refer to `pnpm release` in package.json for the build command.
|
||||
RUN --mount=type=cache,target=/go/pkg/mod \
|
||||
--mount=type=cache,target=/root/.cache/go-build \
|
||||
go build -ldflags="-s -w" -o memos ./bin/memos/main.go
|
||||
go build -ldflags="-s -w" -o memos ./cmd/memos
|
||||
|
||||
# Make workspace with above generated files.
|
||||
FROM alpine:latest AS monolithic
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ export GOCACHE="$(pwd)/build/.gocache"
|
||||
export GOMODCACHE="$(pwd)/build/.gomodcache"
|
||||
|
||||
# Build the executable
|
||||
go build -o "$OUTPUT" ./bin/memos
|
||||
go build -o "$OUTPUT" ./cmd/memos
|
||||
|
||||
echo "Build successful!"
|
||||
echo "To run the application, execute the following command:"
|
||||
|
||||
Reference in New Issue
Block a user