mistymountains/Dockerfile

15 lines
510 B
Docker
Raw Permalink Normal View History

2024-05-01 03:46:57 -04:00
FROM node:18-alpine
2024-05-01 04:03:23 -04:00
ENV VITE_SUPABASE_URL=https://ztxoywaazhxdeiftmsiy.supabase.co
ENV VITE_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Inp0eG95d2Fhemh4ZGVpZnRtc2l5Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2NDk3ODc5MzUsImV4cCI6MTk2NTM2MzkzNX0.-sgyODBi4MfiqQnZ4xFmAoPQOlyHejlghhAAyN0iLJk
ENV VITE_HCAPTCHA_KEY=36511980-ea6f-4a01-b9bc-5270d67c0702
2024-05-01 03:46:57 -04:00
COPY package*.json ./
RUN npm install
COPY --chown=node:node . .
RUN npm run build
EXPOSE 3000
CMD [ "node", "build/index.js" ]