Spaces:
Build error
Build error
Trigger rebuild
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
FROM node:18-alpine AS base
|
2 |
|
|
|
3 |
# Install dependencies only when needed
|
4 |
FROM base AS deps
|
5 |
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
|
@@ -62,4 +63,4 @@ ENV PORT 3000
|
|
62 |
# set hostname to localhost
|
63 |
ENV HOSTNAME "0.0.0.0"
|
64 |
|
65 |
-
CMD ["node", "server.js"]
|
|
|
1 |
FROM node:18-alpine AS base
|
2 |
|
3 |
+
|
4 |
# Install dependencies only when needed
|
5 |
FROM base AS deps
|
6 |
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
|
|
|
63 |
# set hostname to localhost
|
64 |
ENV HOSTNAME "0.0.0.0"
|
65 |
|
66 |
+
CMD ["node", "server.js"]
|