Skip to content

Commit 07feb58

Browse files
FarewellFarewell
authored andcommitted
Restore Dockerfile.server to upstream
1 parent 24ee7e4 commit 07feb58

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile.server

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ COPY packages/happy-server/prisma packages/happy-server/prisma
2222
COPY packages/happy-cli/scripts packages/happy-cli/scripts
2323
COPY packages/happy-cli/tools packages/happy-cli/tools
2424

25-
RUN SKIP_HAPPY_WIRE_BUILD=1 yarn install --frozen-lockfile --ignore-engines --network-timeout 600000
25+
RUN SKIP_HAPPY_WIRE_BUILD=1 yarn install --frozen-lockfile --ignore-engines
2626

2727
# Stage 2: build the server
2828
FROM deps AS builder
@@ -52,5 +52,5 @@ COPY --from=builder /repo/packages/happy-server /repo/packages/happy-server
5252
# Expose the port the app will run on
5353
EXPOSE 3000
5454

55-
# Run migrations then start the server
56-
CMD ["sh", "-c", "yarn --cwd packages/happy-server tsx sources/standalone.ts migrate && yarn --cwd packages/happy-server start"]
55+
# Command to run the application
56+
CMD ["yarn", "--cwd", "packages/happy-server", "start"]

0 commit comments

Comments
 (0)