Update dockerfile

This commit is contained in:
Nico 2026-01-02 17:26:20 -08:00
parent 0d5316bc27
commit 4c62297fb6
5 changed files with 9 additions and 4 deletions

View File

@ -62,7 +62,7 @@ jobs:
docker build \ docker build \
-t $REGISTRY/frontend:${{ github.sha }} \ -t $REGISTRY/frontend:${{ github.sha }} \
-t $REGISTRY/frontend:latest \ -t $REGISTRY/frontend:latest \
-f frontend/Dockerfile.dev frontend/ -f frontend/Dockerfile frontend/
- name: Push Frontend Image - name: Push Frontend Image
run: | run: |

6
frontend/src/App.d.ts vendored Normal file
View File

@ -0,0 +1,6 @@
import React from 'react';
declare module './App' {
const App: React.FC;
export default App;
}

View File

@ -1,4 +1,4 @@
import type { GroceryItemType } from "../types"; import type { GroceryItemType } from "../../types";
interface Props { interface Props {
item: GroceryItemType; item: GroceryItemType;

View File

@ -1,4 +1,3 @@
import React from "react";
interface Props { interface Props {
suggestions: string[]; suggestions: string[];

View File

@ -1,6 +1,6 @@
import { StrictMode } from 'react' import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client' import { createRoot } from 'react-dom/client'
import App from './App.jsx' import App from './App'
import './index.css' import './index.css'
import './styles/theme.css' import './styles/theme.css'