Spaces:
Sleeping
Sleeping
Yann
commited on
Commit
·
2d5f7ff
1
Parent(s):
05f21ba
big news
Browse files- Dockerfile +2 -2
- webpack.dev.js +1 -1
Dockerfile
CHANGED
@@ -16,7 +16,7 @@ COPY . .
|
|
16 |
RUN npm run build
|
17 |
|
18 |
# Expose the port that the application will use
|
19 |
-
EXPOSE
|
20 |
|
21 |
# Run the command to start the application
|
22 |
-
CMD ["npm", "
|
|
|
16 |
RUN npm run build
|
17 |
|
18 |
# Expose the port that the application will use
|
19 |
+
EXPOSE 3005
|
20 |
|
21 |
# Run the command to start the application
|
22 |
+
CMD ["npm", "start"]
|
webpack.dev.js
CHANGED
@@ -8,7 +8,7 @@ module.exports = merge(common, {
|
|
8 |
mode: "development",
|
9 |
devtool: "inline-source-map",
|
10 |
devServer: {
|
11 |
-
port:
|
12 |
hot: "only",
|
13 |
static: {
|
14 |
directory: path.resolve(__dirname, "public"),
|
|
|
8 |
mode: "development",
|
9 |
devtool: "inline-source-map",
|
10 |
devServer: {
|
11 |
+
port: 3005,
|
12 |
hot: "only",
|
13 |
static: {
|
14 |
directory: path.resolve(__dirname, "public"),
|