Spaces:
Sleeping
Sleeping
Commit
·
4eb078e
1
Parent(s):
0f28f75
use default port
Browse files- Dockerfile +1 -1
- src/webpack.config.cjs +1 -1
Dockerfile
CHANGED
|
@@ -13,7 +13,7 @@ RUN npm install
|
|
| 13 |
# Copy the rest of the application source code
|
| 14 |
COPY src/ ./
|
| 15 |
|
| 16 |
-
EXPOSE 9090
|
| 17 |
|
| 18 |
# Start the application with host 0.0.0.0 for Docker networking
|
| 19 |
CMD ["npm", "start", "--", "--host", "0.0.0.0"]
|
|
|
|
| 13 |
# Copy the rest of the application source code
|
| 14 |
COPY src/ ./
|
| 15 |
|
| 16 |
+
#EXPOSE 9090
|
| 17 |
|
| 18 |
# Start the application with host 0.0.0.0 for Docker networking
|
| 19 |
CMD ["npm", "start", "--", "--host", "0.0.0.0"]
|
src/webpack.config.cjs
CHANGED
|
@@ -44,7 +44,7 @@ const browserConfig = {
|
|
| 44 |
open: true,
|
| 45 |
static: false,
|
| 46 |
server: "http",
|
| 47 |
-
port:
|
| 48 |
},
|
| 49 |
|
| 50 |
plugins: [
|
|
|
|
| 44 |
open: true,
|
| 45 |
static: false,
|
| 46 |
server: "http",
|
| 47 |
+
port: 7860
|
| 48 |
},
|
| 49 |
|
| 50 |
plugins: [
|