Update dockerfile
This commit is contained in:
parent
0d5316bc27
commit
4c62297fb6
@ -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
6
frontend/src/App.d.ts
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import React from 'react';
|
||||||
|
|
||||||
|
declare module './App' {
|
||||||
|
const App: React.FC;
|
||||||
|
export default App;
|
||||||
|
}
|
||||||
@ -1,4 +1,4 @@
|
|||||||
import type { GroceryItemType } from "../types";
|
import type { GroceryItemType } from "../../types";
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
item: GroceryItemType;
|
item: GroceryItemType;
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
import React from "react";
|
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
suggestions: string[];
|
suggestions: string[];
|
||||||
|
|||||||
@ -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'
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user