feat: initial commit

This commit is contained in:
Stijnvandenbroek
2025-06-29 11:26:13 +02:00
parent e6be7e7fbf
commit 672d3d1cfc
34 changed files with 19962 additions and 0 deletions

24
stamp_frontend/Dockerfile Normal file
View File

@@ -0,0 +1,24 @@
FROM node:18-alpine
WORKDIR /app
# Install curl for healthcheck
RUN apk --no-cache add curl
# Install dependencies
COPY package.json package-lock.json ./
RUN npm install
# Copy app files
COPY public/ ./public/
COPY src/ ./src/
EXPOSE 4000
ENV PORT=4000
ENV WDS_SOCKET_PORT=0
# Create an .env file at build time
RUN echo "REACT_APP_API_URL=http://localhost:8000" > .env
CMD ["npm", "start"]