Commit 93da2368 authored by TokaKaram's avatar TokaKaram

change captain back2

parent 902b4167
...@@ -2,9 +2,10 @@ ...@@ -2,9 +2,10 @@
"schemaVersion": 2, "schemaVersion": 2,
"dockerfileLines": [ "dockerfileLines": [
"FROM node:22-alpine", "FROM node:22-alpine",
"WORKDIR /server", "WORKDIR /app",
"COPY . .", "COPY . .",
"RUN cd backend && npm install --production", "RUN cd backend && npm install --production",
"ENV PORT=5000",
"EXPOSE 5000", "EXPOSE 5000",
"CMD [\"sh\", \"-c\", \"cd backend && node server.js\"]" "CMD [\"sh\", \"-c\", \"cd backend && node server.js\"]"
] ]
......
...@@ -2,9 +2,10 @@ ...@@ -2,9 +2,10 @@
"schemaVersion": 2, "schemaVersion": 2,
"dockerfileLines": [ "dockerfileLines": [
"FROM node:22-alpine", "FROM node:22-alpine",
"WORKDIR /server", "WORKDIR /app",
"COPY . .", "COPY . .",
"RUN cd backend && npm install --production", "RUN cd backend && npm install --production",
"ENV PORT=5000",
"EXPOSE 5000", "EXPOSE 5000",
"CMD [\"sh\", \"-c\", \"cd backend && node server.js\"]" "CMD [\"sh\", \"-c\", \"cd backend && node server.js\"]"
] ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment