Fix: Checkout

Fix: Formatting
This commit is contained in:
Chris-1010
2025-01-23 14:50:38 +00:00
parent 33111ea077
commit 667088ec9e
9 changed files with 56 additions and 50 deletions

View File

@@ -1,20 +1,16 @@
# Use the latest LTS version of Node.js
FROM node:18-alpine
# Set the working directory inside the container
WORKDIR /frontend
# Copy package.json and package-lock.json
ENV VITE_API_URL=${VITE_API_URL}
ENV VITE_STRIPE_PUBLISHABLE_KEY=${VITE_STRIPE_PUBLISHABLE_KEY}
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy the rest of your application files
COPY . .
# Expose the port your app runs on
EXPOSE 5173
# Define the command to run your app
CMD ["npm", "run", "dev", "--", "--host"]