Update Dockerfile for better containerization

This commit is contained in:
nate@necloud.us committed 2025-08-13 19:11:53 -04:00
1 parent fdda517e7b
commit 5f7cef7646
1 file changed
+3 -1
+3 -1
View File
@@ -13,6 +13,7 @@ FROM node:20-slim
# Install tini for proper signal handling # Install tini for proper signal handling
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
tini \ tini \
wget \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Create non-root user for better security # Create non-root user for better security
@@ -37,7 +38,8 @@ USER spelling
# Set version label # Set version label
LABEL version="1.1.0" \ LABEL version="1.1.0" \
description="Spelling Practice Application" \ description="Spelling Practice Application" \
maintainer="nmemmert" maintainer="nmemmert" \
org.opencontainers.image.source="https://github.com/nmemmert/spelling"
# Expose application port # Expose application port
EXPOSE 3000 EXPOSE 3000