Skip to content

Commit

Permalink
feat(webui): add nano to docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
berdal84 committed May 1, 2024
1 parent ae52d42 commit 0564567
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions webui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ RUN chown nextjs:nodejs .next
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static

# Add text editor nano to be able to edit the server.js file and change hard-coded API_BASE_URL
# Build is "standalone", so env vars are inlined.
RUN apt update
RUN apt install nano -y

USER nextjs

EXPOSE 3000
Expand Down

0 comments on commit 0564567

Please sign in to comment.