docker) use debian user creation commands
All checks were successful
PR Checks / lint-test-and-docker-build (pull_request) Successful in 2m8s
All checks were successful
PR Checks / lint-test-and-docker-build (pull_request) Successful in 2m8s
This commit is contained in:
@@ -22,7 +22,7 @@ FROM oven/bun:1 AS runtime
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Create a non-root user to run the app
|
# Create a non-root user to run the app
|
||||||
RUN addgroup -S trips && adduser -S trips -G trips
|
RUN groupadd --system trips && useradd --system --gid trips trips
|
||||||
|
|
||||||
# Copy the built app and production node_modules from the builder
|
# Copy the built app and production node_modules from the builder
|
||||||
COPY --from=builder /app/build ./build
|
COPY --from=builder /app/build ./build
|
||||||
|
|||||||
Reference in New Issue
Block a user