We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1bbb30 commit be8378dCopy full SHA for be8378d
Dockerfile
@@ -40,6 +40,19 @@ COPY --from=builder /app/main .
40
# Copy .env file if it exists
41
COPY --from=builder /app/.env* ./
42
43
+# Set default environment variables
44
+ENV NODE_ENV=production \
45
+ CLAMD_IP=clamd \
46
+ APP_FORM_KEY=FILES \
47
+ APP_PORT=3000 \
48
+ APP_MAX_FILE_SIZE=26214400 \
49
+ APP_MAX_FILES_NUMBER=4 \
50
+ CLAMD_PORT=3310 \
51
+ CLAMD_TIMEOUT=60000 \
52
+ APP_MORGAN_LOG_FORMAT=combined \
53
+ REDIS_URL=redis://redis:6379 \
54
+ JOB_EXPIRATION=3600
55
+
56
# Create non-root user
57
RUN addgroup -g 1001 -S appuser && \
58
adduser -S -D -H -u 1001 -h /root -s /sbin/nologin -G appuser appuser
0 commit comments