Skip to content

Commit ce99265

Browse files
authored
Set up docker compose (#324)
1 parent a5b54a3 commit ce99265

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Dockerfile.build renamed to Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM buildkite/puppeteer:5.2.1
1+
FROM node:22-alpine
22

33
WORKDIR /src
44

@@ -16,3 +16,8 @@ RUN npm run test:ci
1616
# Build Frontend
1717
RUN npm run build
1818

19+
# Expose the default vite port.
20+
EXPOSE 5173
21+
22+
# Automatically start the server.
23+
ENTRYPOINT ["npm", "start"]

compose.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
services:
2+
mydraft:
3+
build: .
4+
ports:
5+
- "8080:5173"

0 commit comments

Comments
 (0)