Spaces:
Running
Running
burtenshaw
commited on
Commit
·
ad317fa
1
Parent(s):
de75e72
run on 7860
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -26,6 +26,9 @@ RUN --mount=type=secret,id=HF_TOKEN \
|
|
26 |
# Production stage
|
27 |
FROM base AS production
|
28 |
ENV NODE_ENV=production
|
|
|
|
|
|
|
29 |
# Copy built application output from the 'builder' stage
|
30 |
# The output directory is typically 'build' when using adapter-node
|
31 |
COPY --from=builder /app/build ./build
|
|
|
26 |
# Production stage
|
27 |
FROM base AS production
|
28 |
ENV NODE_ENV=production
|
29 |
+
# Set the default port for the SvelteKit Node adapter
|
30 |
+
ENV PORT=7860
|
31 |
+
|
32 |
# Copy built application output from the 'builder' stage
|
33 |
# The output directory is typically 'build' when using adapter-node
|
34 |
COPY --from=builder /app/build ./build
|