Spaces:
Sleeping
Sleeping
Commit ·
d7608ed
1
Parent(s): 569d293
fix dockerfile port
Browse files- Dockerfile +2 -2
- copy.env +1 -1
Dockerfile
CHANGED
|
@@ -24,7 +24,7 @@ WORKDIR /app
|
|
| 24 |
|
| 25 |
ENV NODE_ENV=production
|
| 26 |
# DogeUB documents PORT via env in copy.env
|
| 27 |
-
ENV PORT=
|
| 28 |
|
| 29 |
# Install only production deps
|
| 30 |
COPY package*.json ./
|
|
@@ -43,5 +43,5 @@ COPY --from=build /app/placeholder.svg ./placeholder.svg
|
|
| 43 |
# Run as non-root (the official node image defines a 'node' user)
|
| 44 |
USER node
|
| 45 |
|
| 46 |
-
EXPOSE
|
| 47 |
CMD ["node", "server.js"]
|
|
|
|
| 24 |
|
| 25 |
ENV NODE_ENV=production
|
| 26 |
# DogeUB documents PORT via env in copy.env
|
| 27 |
+
ENV PORT=7860
|
| 28 |
|
| 29 |
# Install only production deps
|
| 30 |
COPY package*.json ./
|
|
|
|
| 43 |
# Run as non-root (the official node image defines a 'node' user)
|
| 44 |
USER node
|
| 45 |
|
| 46 |
+
EXPOSE 7860
|
| 47 |
CMD ["node", "server.js"]
|
copy.env
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# Set the port on which Doge V5 will run on.
|
| 2 |
-
# PORT=
|
| 3 |
|
| 4 |
# Choose whether or not to use the Bare Server.
|
| 5 |
# Set to true or leave it alone if using Vercel.
|
|
|
|
| 1 |
# Set the port on which Doge V5 will run on.
|
| 2 |
+
# PORT=7860
|
| 3 |
|
| 4 |
# Choose whether or not to use the Bare Server.
|
| 5 |
# Set to true or leave it alone if using Vercel.
|