We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 652027d commit ef6d849Copy full SHA for ef6d849
.github/workflows/main.yml
@@ -95,6 +95,7 @@ jobs:
95
with:
96
context: .
97
push: true
98
+ platforms: linux/amd64,linux/arm64
99
tags: ${{ steps.meta.outputs.tags }}
100
labels: ${{ steps.meta.outputs.labels }}
101
Dockerfile
@@ -14,12 +14,10 @@ RUN npm install --no-package-lock
14
# Build the application
15
RUN npm run build
16
17
-ENV CLIENT_PORT=6274
18
-ENV SERVER_PORT=6277
+ARG CLIENT_PORT=6274
+ARG SERVER_PORT=6277
19
20
-# Expose the CLIENT_PORT and SERVER_PORT
21
-EXPOSE $CLIENT_PORT
22
-EXPOSE $SERVER_PORT
+EXPOSE ${CLIENT_PORT} ${SERVER_PORT}
23
24
# Use ENTRYPOINT with CMD for arguments
25
ENTRYPOINT ["npm", "start"]
0 commit comments